These events are generated by wWindow when the user pressed the keyboard.
Events: | wKeyEvent | Description |
wEvent_Char | A focused Window receives a char. |
wEvent_KeyDown | A key was pressed. |
wEvent_KeyUp | A key was released. |
wEvent_SysKeyDown | Presses the F10 key or holds down the ALT key and then presses another key. |
wEvent_SysKeyUp | Releases a key that was pressed while the ALT key was held down. |
|
method getKeyCode(self: wKeyEvent): int {...}{.inline, raises: [], tags: [].}
-
Returns the key code of the key that generated this event.