Name
GetQualifiers -- query current qualifier key state (V6.0)
Synopsis
ULONG state = GetQualifiers(APTR handle);
Function
This function must query the state of all keyboard qualifiers for the specified display and return them to Hollywood. The following keyboard qualifiers are currently defined:

HWKEY_QUAL_MASK:
This is an internal control bit and must always be set.

HWKEY_QUAL_LSHIFT:
Left shift key is down.

HWKEY_QUAL_RSHIFT:
Right shift key is down.

HWKEY_QUAL_LALT:
Left alt key is down.

HWKEY_QUAL_RALT:
Right alt key is down.

HWKEY_QUAL_LCOMMAND:
Left command key is down.

HWKEY_QUAL_RCOMMAND:
Right command key is down.

HWKEY_QUAL_LCONTROL:
Left control key is down.

HWKEY_QUAL_RCONTROL:
Right control key is down.

Inputs
handle
display handle returned by OpenDisplay()
Results
state
bitmask containing all qualifier keys that are currently down; do not forget to always set HWKEY_QUAL_MASK

Show TOC