Gets a key or a mouse button status.
This function gets a key or a mouse button status, returns TRUE when pressed, or FALSE when released. uKey indicates the key or mouse button. For keys on keyboard, uKey should be the scancode of the key, for mouse button, uKey should be one value of the following:
These constants and the scancodes of keys are defined in <minigui/common.h>.
uKey | Indicates the key or mouse button. |
DWORD GUIAPI GetShiftKeyStatus | ( | void | ) |
Gets status of the shift keys.
This function gets ths status of the shift keys, the returned value indicates the status of shift keys -- CapsLock, ScrollLock, NumLock, Left Shift, Right Shift, Left Ctrl, Right Ctrl, Left Alt, and Right Alt. You can use KS_* ORed with the status value to determine one shift key's status:
These constants are defined in <minigui/common.h>.