00001 #ifndef __AIEvent__
00002 #define __AIEvent__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033
00034 #include "AIHeaderBegin.h"
00035
00038
00039
00040
00041
00042
00043
00046 typedef ASUInt16 AIEventModifiers;
00047
00048
00051 enum AIEventModifersValue {
00053 aiEventModifiers_activeFlag = 0x0001,
00055 aiEventModifiers_btnState = 0x0080,
00057 aiEventModifiers_cmdKey = 0x0100,
00059 aiEventModifiers_shiftKey = 0x0200,
00061 aiEventModifiers_alphaLock = 0x0400,
00063 aiEventModifiers_optionKey = 0x0800,
00065 aiEventModifiers_controlKey = 0x1000,
00067 aiEventModifiers_rightShiftKey = 0x2000,
00069 aiEventModifiers_rightOptionKey = 0x4000,
00071 aiEventModifiers_rightControlKey = 0x8000,
00073 aiEventModifiers_activeFlagBit = 0,
00075 aiEventModifiers_btnStateBit = 7,
00077 aiEventModifiers_cmdKeyBit = 8,
00079 aiEventModifiers_shiftKeyBit = 9,
00081 aiEventModifiers_alphaLockBit = 10,
00083 aiEventModifiers_optionKeyBit = 11,
00085 aiEventModifiers_controlKeyBit = 12,
00087 aiEventModifiers_rightShiftKeyBit = 13,
00089 aiEventModifiers_rightOptionKeyBit = 14,
00091 aiEventModifiers_rightControlKeyBit = 15,
00092
00093
00095 aiEventModifiers_spaceKey = 0x0002,
00097 aiEventModifiers_tabKey = 0x0004,
00099 aiEventModifiers_capsLockOn = 0x0008,
00101 aiEventModifiers_doubleClick = 0x0010,
00103 aiEventModifiers_tripleClick = 0x0020,
00105 aiEventModifiers_spaceKeyBit = 1,
00107 aiEventModifiers_tabKeyBit = 2,
00109 aiEventModifiers_capsLcokBit = 3,
00111 aiEventModifiers_doubleClickBit = 4,
00113 aiEventModifiers_tripleClickBit = 5
00114 };
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124 #include "AIHeaderEnd.h"
00125
00126 #endif