![]() |
![]()
| ![]() |
![]()
NAMEkey_shifts - Bitmask containing the current state of modifier keys. Allegro game programming library. SYNOPSIS#include <allegro.h> extern volatile int key_shifts; DESCRIPTIONBitmask containing the current state of shift/ctrl/alt, the special Windows keys, and the accent escape characters. Wherever possible this value will be updated asynchronously, but if keyboard_needs_poll() returns TRUE, you must manually call poll_keyboard() to update it with the current input state. This can contain any of the flags:
Example:
SEE ALSOinstall_keyboard(3), poll_keyboard(3), key(3), excamera(3), exkeys(3)
|