|
Laxkit
0.0.7.1
|
Hold info about key press or release. More...

Public Member Functions | |
| KeyEventData (int ntype) | |
Public Member Functions inherited from Laxkit::EventData | |
| EventData (const char *message, unsigned long fromwindow=0, unsigned long towindow=0) | |
| EventData (int message, unsigned long fromwindow=0, unsigned long towindow=0) | |
Public Attributes | |
| unsigned int | key |
| unsigned int | modifiers |
| char * | buffer |
| int | len |
| LaxKeyboard * | device |
| anXWindow * | target |
Public Attributes inherited from Laxkit::EventData | |
| unsigned long | type |
| unsigned long | subtype |
| char * | send_message |
| unsigned long | from |
| unsigned long | to |
| int | propagate |
| clock_t | send_time |
| unsigned long | xlib_time |
| EventData * | next |
Hold info about key press or release.
For LAX_onKeyUp, buffer and len are NULL and 0.
For LAX_onKeyDown, buffer and len might have data, which usually will have resulted from some extra input method helper, like with dead keys to produce composed characters.
If the key is a control, shift, alt or similar key, the code will be in key, and buffer will be NULL.