SDLJoystick

Undocumented in source.

Constructors

this
this(SDL2 sdl2, int joystickIdx)
Undocumented in source.
this
this(SDL2 sdl2, string joystickName)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getAxis
short getAxis(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
getBall
void getBall(int idx, int dx, int dy)
Undocumented in source. Be warned that the author may not have intended to support it.
getButton
bool getButton(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
getHat
ubyte getHat(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

attached
bool attached [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
guid
ubyte[16] guid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
guidString
string guidString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
numAxes
int numAxes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
numBalls
int numBalls [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
numButtons
int numButtons [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
numHats
int numHats [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

joystickCount
int joystickCount()
Undocumented in source. Be warned that the author may not have intended to support it.
runUpdate
void runUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
update
bool update()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(bool autoProc)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta