Back to Adaptive Vision Library Lite website

You are here: Start » System » User Input » GetKeyboardKeys

GetKeyboardKeys


Header: STD.h
Namespace: avl

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
Input value
inNumKeypad const bool True Determines whether to analyze keys from numeric keypad
Input value
inAlpha const bool True Determines whether to analyze keys from alphanumeric keypad
Input value
inSpecial const bool Determines whether to analyze special keys
Input value
inFKeys const bool Determines whether to analyze functional keys (F1 to F24)
Output value
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://docs.microsoft.com/windows/desktop/inputdev/virtual-key-codes

See Also