Contents, API Reference, Interfaces, iTestBed, getKeyState
iTestBed::getKeyState()
Description
Tells you whether or not a specified key is down.
Syntax
bool getKeyState(const char* keyString); |
Parameters
| keyString | |
A string describing the key for which state is desired.
|
Return Value
true if the key is down, otherwise false.
Remarks
See Key Strings for a list of supported key strings.
If you want something to happen only once when a key is pressed then
you should use iTestBed::receiveKeyMessage(), instead.
C# Mapping
bool getKeyState(string keyString); |
Java Mapping
boolean getKeyState(String keyString);
|