PathEngine home previous: iTestBed::getInterfaceMinorVersion()next: iTestBed::getLeftMouseState()
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.


Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::getLeftMouseState()