1 # Generated from 'Events.h' 2 3 nullEvent = 0 4 mouseDown = 1 5 mouseUp = 2 6 keyDown = 3 7 keyUp = 4 8 autoKey = 5 9 updateEvt = 6 10 diskEvt = 7 11 activateEvt = 8 12 osEvt = 15 13 kHighLevelEvent = 23 14 mDownMask = 1 << mouseDown 15 mUpMask = 1 << mouseUp 16 keyDownMask = 1 << keyDown 17 keyUpMask = 1 << keyUp 18 autoKeyMask = 1 << autoKey 19 updateMask = 1 << updateEvt 20 diskMask = 1 << diskEvt 21 activMask = 1 << activateEvt 22 highLevelEventMask = 0x0400 23 osMask = 1 << osEvt 24 everyEvent = 0xFFFF 25 charCodeMask = 0x000000FF 26 keyCodeMask = 0x0000FF00 27 adbAddrMask = 0x00FF0000 28 # osEvtMessageMask = (unsigned long)0xFF000000 29 mouseMovedMessage = 0x00FA 30 suspendResumeMessage = 0x0001 31 resumeFlag = 1 32 convertClipboardFlag = 2 33 activeFlagBit = 0 34 btnStateBit = 7 35 cmdKeyBit = 8 36 shiftKeyBit = 9 37 alphaLockBit = 10 38 optionKeyBit = 11 39 controlKeyBit = 12 40 rightShiftKeyBit = 13 41 rightOptionKeyBit = 14 42 rightControlKeyBit = 15 43 activeFlag = 1 << activeFlagBit 44 btnState = 1 << btnStateBit 45 cmdKey = 1 << cmdKeyBit 46 shiftKey = 1 << shiftKeyBit 47 alphaLock = 1 << alphaLockBit 48 optionKey = 1 << optionKeyBit 49 controlKey = 1 << controlKeyBit 50 rightShiftKey = 1 << rightShiftKeyBit 51 rightOptionKey = 1 << rightOptionKeyBit 52 rightControlKey = 1 << rightControlKeyBit 53 kNullCharCode = 0 54 kHomeCharCode = 1 55 kEnterCharCode = 3 56 kEndCharCode = 4 57 kHelpCharCode = 5 58 kBellCharCode = 7 59 kBackspaceCharCode = 8 60 kTabCharCode = 9 61 kLineFeedCharCode = 10 62 kVerticalTabCharCode = 11 63 kPageUpCharCode = 11 64 kFormFeedCharCode = 12 65 kPageDownCharCode = 12 66 kReturnCharCode = 13 67 kFunctionKeyCharCode = 16 68 kCommandCharCode = 17 69 kCheckCharCode = 18 70 kDiamondCharCode = 19 71 kAppleLogoCharCode = 20 72 kEscapeCharCode = 27 73 kClearCharCode = 27 74 kLeftArrowCharCode = 28 75 kRightArrowCharCode = 29 76 kUpArrowCharCode = 30 77 kDownArrowCharCode = 31 78 kSpaceCharCode = 32 79 kDeleteCharCode = 127 80 kBulletCharCode = 165 81 kNonBreakingSpaceCharCode = 202 82 kShiftUnicode = 0x21E7 83 kControlUnicode = 0x2303 84 kOptionUnicode = 0x2325 85 kCommandUnicode = 0x2318 86 kPencilUnicode = 0x270E 87 kCheckUnicode = 0x2713 88 kDiamondUnicode = 0x25C6 89 kBulletUnicode = 0x2022 90 kAppleLogoUnicode = 0xF8FF 91 networkEvt = 10 92 driverEvt = 11 93 app1Evt = 12 94 app2Evt = 13 95 app3Evt = 14 96 app4Evt = 15 97 networkMask = 0x0400 98 driverMask = 0x0800 99 app1Mask = 0x1000 100 app2Mask = 0x2000 101 app3Mask = 0x4000 102 app4Mask = 0x8000 103