[Overview][Constants][Types][Procedures and functions] | Reference for unit 'keyboard' (#rtl) |
Check event queue for key press
Source position: keyboard.pp line 33
function KeyPressed: Boolean; |
KeyPressed checks the keyboard event queue to see whether a key event is present, and returns True if a key event is available. This function simply calls PollKeyEvent and checks for a valid result.
None.
|
Get next key event, but does not wait. |
|
|
Get the next raw key event, wait if needed. |
No notes exist for this page yet.