![]() |
![]() |
![]() |
Indicates whether a specified keyboard key is up or down at the time the function is called.
Syntax
BOOL DXUTIsKeyDown(
BYTE vKey );
Parameters
- vKey
- [in] Virtual key code
of a keyboard key. For example VK_F1, VK_LSHIFT, VK_RCONTROL, VK_RMENU, and 41 (representing the 'A' key).
Return Value
TRUE if the specified vKey keyboard key is down; FALSE otherwise.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
DXUTIsMouseButtonDown