Returns the currently pressed modifier flags.
A mask of the current modifiers using the values in Modifier Flags.
This returns the state of devices combined with synthesized events at the moment, independent of which events have been delivered via the event stream.
Getting Key Event Information
Returns the length of time a key must be held down in order to generate the first key repeat event.
Returns the length between subsequent key repeat events being posted.
The characters associated with a key-up or key-down event.
A Boolean value that indicates whether the key event is a repeat.
The virtual key code for the keyboard key associated with a key event.