class Joypad
- Joypad
- Reference
- Object
Defined in:
cryboy/joypad.crConstructors
Instance Method Summary
- #a : Bool
- #a=(a : Bool)
- #b : Bool
- #b=(b : Bool)
- #button_keys : Bool
- #button_keys=(button_keys : Bool)
- #direction_keys : Bool
- #direction_keys=(direction_keys : Bool)
-
#down : Bool
describes if a button is CURRENTLY PRESSED
-
#down=(down : Bool)
describes if a button is CURRENTLY PRESSED
- #handle_joypad_event(event : SDL::Event) : Nil
- #left : Bool
- #left=(left : Bool)
- #read : UInt8
- #right : Bool
- #right=(right : Bool)
- #select : Bool
- #select=(select __arg0 : Bool)
- #start : Bool
- #start=(start : Bool)
- #up : Bool
- #up=(up : Bool)
- #write(value : UInt8) : Nil