Controller

Constructors

this
this(int index)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

buttonJustPressed
bool buttonJustPressed(ControllerButton button)
getStick
Vector2 getStick(ThumbStick stick)
getTrigger
float getTrigger(ControllerButton button)
isButtonDown
bool isButtonDown(ControllerButton button)
isButtonUp
bool isButtonUp(ControllerButton button)
isConnected
bool isConnected()
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

id
int id [@property getter]

Variables

deadzone
float deadzone;

Meta