Function 66 - work with keyboard.

The input mode influences results of reading keys by function 2. When a program loads, ASCII input mode is set for it.

Subfunction 1 - set keyboard input mode.

Parameters: Returned value:

Subfunction 2 - get keyboard input mode.

Parameters: Returned value:

Subfunction 3 - get status of control keys.

Parameters: Returned value:

Subfunction 4 - set system-wide hotkey.

When hotkey is pressed, the system notifies only those applications, which have installed it; the active application (which receives all normal input) does not receive such keys. The notification consists in sending event with the code 2. Reading hotkey is the same as reading normal key - by function 2.
Parameters: Returned value: Remarks:

Subfunction 5 - delete installed hotkey.

Parameters: Returned value: Remarks: