JoyEventProcessor

Constructors

this
this()
Undocumented in source.

Members

Functions

addJoystick
void addJoystick(uint ind)
Undocumented in source. Be warned that the author may not have intended to support it.
procSDLEvent
bool procSDLEvent(SDL_Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
removeJoystick
void removeJoystick(uint ind)
Undocumented in source. Be warned that the author may not have intended to support it.
updateAxis
void updateAxis(uint ind, uint axis, short value)
Undocumented in source. Be warned that the author may not have intended to support it.
updateBall
void updateBall(uint ind, uint ball, ivec2 rel)
Undocumented in source. Be warned that the author may not have intended to support it.
updateButton
void updateButton(uint ind, uint btn, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
updateHat
void updateHat(uint ind, uint hat, uint value)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DES
Undocumented in source.

Variables

added
Signal!(uint) added;

number of joystick in devlist

axisChange
Signal!(uint, uint, short) axisChange;

number of joystick in devlist, number of axis, value

ballChange
Signal!(uint, uint, ivec2) ballChange;

number of joystick in devlist, number of ball, relative move

buttonChange
Signal!(uint, uint, bool) buttonChange;

number of joystick in devlist, number of button, pressed

devlist
Joystick[uint] devlist;

list of registred devices

hatChange
Signal!(uint, uint, Joystick.HatState) hatChange;

number of joystick in devlist, number of hat, state

removed
Signal!(uint) removed;

number of joystick in devlist

Inherited Members

From BaseSDLEventProcessor

__anonymous
mixin DES
Undocumented in source.

Meta