dash ~master (2014-11-19T20:54:00Z)
Home
Dub
Repo
InputSystem.getButtonState
dash
utility
input
inputsystem
InputSystem
Check if a given button is down.
class
InputSystem
(ButtonEnum, AxisEnum)
ButtonStorageType
getButtonState
(
Buttons
buttonCode
)
Parameters
buttonCode
Type:
Buttons
The button to check.
Return Value
Type:
ButtonStorageType
The state of the button.
Meta
Source
See Implementation
dash
utility
input
inputsystem
InputSystem
aliases
Axes
AxisEvent
ButtonEvent
ButtonStateEvent
Buttons
functions
addAxisEvent
addButtonDownEvent
addButtonEvent
addButtonUpEvent
getAxisState
getButtonState
isButtonDown
isButtonUp
setAxisState
setButtonState
static functions
initialize
update
static variables
HasAxes
HasButtons
Check if a given button is down.