C4 Engine
C4 Engine API Documentation

InterfaceMgr::GetControlKey

Defined in:  C4Interface.h
Returns a boolean value indicating whether the control key is pressed.
Prototype

static bool GetControlKey(void);

Description
The GetControlKey function returns true if the control key is currently pressed and false otherwise. No distinction is made between left and right control keys, and true is returned if either is pressed.

The name "control key" is used as a platform-neutral term, and it refers to different physical keys on different platforms. Under Windows, the GetControlKey function returns true if the Control key is pressed. Under Mac OS X, the GetControlKey function returns true if the Command (⌘) key is pressed.
See Also

InterfaceMgr::GetShiftKey

InterfaceMgr::GetAlternateKey