C4 Engine
C4 Engine API Documentation

InterfaceMgr::GetShiftKey

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

static bool GetShiftKey(void);

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

If a keyboard event is received, then it is not necessary to call the GetShiftKey function to determine whether the Shift key was pressed for that event. Instead, you should check the modifierKeys field of the KeyboardEventData structure and test for the kModifierKeyShift flag.
See Also

InterfaceMgr::GetControlKey

InterfaceMgr::GetAlternateKey