ButtonEvent

Defines a button (keyboard, game controller) event data.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

aux
ushort aux;

Used to identify modifier keys on keyboard, etc.

auxF
float auxF;

Placeholder for pressure-sensitive buttons, NaN otherwise

dir
ubyte dir;

Up (0) or down (1)

id
uint id;

Button ID

repeat
ubyte repeat;

Used for repetition if supported by source

Meta