Back to Adaptive Vision Library Lite website
You are here: Start » User Input » GetKeyboardKeys
GetKeyboardKeys
Returns virtual key codes of the pressed keys or NULL if no key was pressed.
Syntax
void avl::GetKeyboardKeys ( const bool inNumKeypad, const bool inAlpha, const bool inSpecial, const bool inFKeys, atl::Array<int>& outKeyCodes )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inNumKeypad | const bool | True | Determines whether to analyze keys from numeric keypad |
![]() |
inAlpha | const bool | True | Determines whether to analyze keys from alphanumeric keypad |
![]() |
inSpecial | const bool | Determines whether to analyze special keys | |
![]() |
inFKeys | const bool | Determines whether to analyze functional keys (F1 to F24) | |
![]() |
outKeyCodes | Array<int>& | Virtual key codes of the pressed keys. See documentation for a complete table |
Remarks
For complete list of virtual key codes, please follow the link below:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx


