HGE::Input_GetKeyName
Returns a key or mouse button name from it's code.
char *Input_GetKeyName(
int key
);
Parameters
- key
- Specifies one of virtual-key codes.
For more information see Key codes section.
Return value
Returns a pointer to the string holding the specified key name.
For undefined key codes returns "?".
Remarks
Input_GetKeyName handles keyboard keys and mouse buttons.
Requirements
Header: hge.h
Import library: hge.lib
See also
Input_GetKeyState,
Input_GetKey,
Input_GetChar,
Key codes
|