GetKeyboardKeys
Returns virtual key codes of the pressed keys or NULL if no key was pressed.
Syntax
C++
Python
def GetKeyboardKeys( *, inNumKeypad: bool = True, inAlpha: bool = True, inSpecial: bool = False, inFKeys: bool = False ) -> outKeyCodes: list[int]
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inNumKeypad | bool | True | Determines whether to analyze keys from numeric keypad |
![]() |
inAlpha | bool | True | Determines whether to analyze keys from alphanumeric keypad |
![]() |
inSpecial | bool | False | Determines whether to analyze special keys |
![]() |
inFKeys | bool | False | Determines whether to analyze functional keys (F1 to F24) |
![]() |
outKeyCodes | list[int] | Virtual key codes of the pressed keys. See documentation for a complete table |


