Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
GB::Joypad
Inherits
Reference
<
Object
Constructors
new
(gb :
GB
)
Source
Instance methods
a
Source
a=
(a :
Bool
)
Source
b
Source
b=
(b :
Bool
)
Source
button_keys
Source
button_keys=
(button_keys :
Bool
)
Source
direction_keys
Source
direction_keys=
(direction_keys :
Bool
)
Source
down
describes if a button is CURRENTLY PRESSED
Source
down=
(down :
Bool
)
describes if a button is CURRENTLY PRESSED
Source
handle_input
(input :
Input
, pressed :
Bool
) :
Nil
Source
handle_joypad_event
(event :
SDL::Event
) :
Nil
Source
left
Source
left=
(left :
Bool
)
Source
read
Source
right
Source
right=
(right :
Bool
)
Source
select
Source
select=
(select __arg0 :
Bool
)
Source
start
Source
start=
(start :
Bool
)
Source
up
Source
up=
(up :
Bool
)
Source
write
(value :
UInt8
) :
Nil
Source