|
|
|
|
EVT_eventModMaskType
Declaration
typedef enum {
EVT_LEFTBUT = 0x00000001,
EVT_RIGHTBUT = 0x00000002,
EVT_MIDDLEBUT = 0x00000004,
EVT_RIGHTSHIFT = 0x00000008,
EVT_LEFTSHIFT = 0x00000010,
EVT_RIGHTCTRL = 0x00000020,
EVT_RIGHTALT = 0x00000040,
EVT_LEFTCTRL = 0x00000080,
EVT_LEFTALT = 0x00000100,
EVT_SHIFTKEY = 0x00000018,
EVT_CTRLSTATE = 0x000000A0,
EVT_ALTSTATE = 0x00000140,
EVT_SCROLLLOCK = 0x00000200,
EVT_NUMLOCK = 0x00000400,
EVT_CAPSLOCK = 0x00000800
} EVT_eventModMaskType
Prototype In
event.h
Description
Defines the event modifier masks. These are the masks used to extract the modifier information from the modifiers field of the event_t structure. Note that the values in the modifiers field represent the values of these modifier keys at the time the event occurred, not the time you decided to process the event.
Members
EVT_LEFTBUT |
Set if left mouse button was down |
EVT_RIGHTBUT |
Set if right mouse button was down |
EVT_MIDDLEBUT |
Set if the middle button was down |
EVT_RIGHTSHIFT |
Set if right shift was down |
EVT_LEFTSHIFT |
Set if left shift was down |
EVT_RIGHTCTRL |
Set if right ctrl key was down |
EVT_RIGHTALT |
Set if right alt key was down |
EVT_LEFTCTRL |
Set if left ctrl key was down |
EVT_LEFTALT |
Set if left alt key was down |
EVT_SHIFTKEY |
Mask for any shift key down |
EVT_CTRLSTATE |
Set if ctrl key was down |
EVT_ALTSTATE |
Set if alt key was down |
EVT_CAPSLOCK |
Caps lock is active |
EVT_NUMLOCK |
Num lock is active |
EVT_SCROLLLOCK |
Scroll lock is active |
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com