Types
JoypadButton {.size: 1.} = enum A = 0, B, Select, Start, Right, Left, Up, Down
JoypadButtons = set[JoypadButton]
Procs
func getJoypad(): JoypadButtons {.importc: "joypad", codegenDecl: "$# $#$# __preserves_regs(c,d,e,h,l)", ...raises: [], tags: [], forbids: [].}