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
Input value inNumKeypad bool True Determines whether to analyze keys from numeric keypad
Input value inAlpha bool True Determines whether to analyze keys from alphanumeric keypad
Input value inSpecial bool False Determines whether to analyze special keys
Input value inFKeys bool False Determines whether to analyze functional keys (F1 to F24)
Output value outKeyCodes list[int] Virtual key codes of the pressed keys. See documentation for a complete table