1997-08-15 14:38:59 +00:00
|
|
|
# Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Events.h'
|
1995-03-10 14:42:57 +00:00
|
|
|
|
1995-01-30 11:53:55 +00:00
|
|
|
nullEvent = 0
|
|
|
|
mouseDown = 1
|
|
|
|
mouseUp = 2
|
|
|
|
keyDown = 3
|
|
|
|
keyUp = 4
|
|
|
|
autoKey = 5
|
|
|
|
updateEvt = 6
|
|
|
|
diskEvt = 7
|
|
|
|
activateEvt = 8
|
|
|
|
osEvt = 15
|
1997-02-24 13:52:56 +00:00
|
|
|
kHighLevelEvent = 23
|
1998-02-20 15:54:44 +00:00
|
|
|
mDownMask = 1 << mouseDown
|
|
|
|
mUpMask = 1 << mouseUp
|
|
|
|
keyDownMask = 1 << keyDown
|
|
|
|
keyUpMask = 1 << keyUp
|
|
|
|
autoKeyMask = 1 << autoKey
|
|
|
|
updateMask = 1 << updateEvt
|
|
|
|
diskMask = 1 << diskEvt
|
|
|
|
activMask = 1 << activateEvt
|
1995-06-06 13:08:40 +00:00
|
|
|
highLevelEventMask = 0x0400
|
1998-02-20 15:54:44 +00:00
|
|
|
osMask = 1 << osEvt
|
1995-06-06 13:08:40 +00:00
|
|
|
everyEvent = 0xFFFF
|
1995-01-30 11:53:55 +00:00
|
|
|
charCodeMask = 0x000000FF
|
|
|
|
keyCodeMask = 0x0000FF00
|
|
|
|
adbAddrMask = 0x00FF0000
|
1995-06-06 13:08:40 +00:00
|
|
|
mouseMovedMessage = 0x00FA
|
|
|
|
suspendResumeMessage = 0x0001
|
1995-01-30 11:53:55 +00:00
|
|
|
resumeFlag = 1
|
|
|
|
convertClipboardFlag = 2
|
1995-10-09 23:12:22 +00:00
|
|
|
activeFlagBit = 0
|
|
|
|
btnStateBit = 7
|
|
|
|
cmdKeyBit = 8
|
|
|
|
shiftKeyBit = 9
|
|
|
|
alphaLockBit = 10
|
|
|
|
optionKeyBit = 11
|
|
|
|
controlKeyBit = 12
|
|
|
|
rightShiftKeyBit = 13
|
|
|
|
rightOptionKeyBit = 14
|
|
|
|
rightControlKeyBit = 15
|
1998-02-20 15:54:44 +00:00
|
|
|
activeFlag = 1 << activeFlagBit
|
|
|
|
btnState = 1 << btnStateBit
|
|
|
|
cmdKey = 1 << cmdKeyBit
|
|
|
|
shiftKey = 1 << shiftKeyBit
|
|
|
|
alphaLock = 1 << alphaLockBit
|
|
|
|
optionKey = 1 << optionKeyBit
|
|
|
|
controlKey = 1 << controlKeyBit
|
|
|
|
rightShiftKey = 1 << rightShiftKeyBit
|
|
|
|
rightOptionKey = 1 << rightOptionKeyBit
|
|
|
|
rightControlKey = 1 << rightControlKeyBit
|
|
|
|
kNullCharCode = 0
|
|
|
|
kHomeCharCode = 1
|
|
|
|
kEnterCharCode = 3
|
|
|
|
kEndCharCode = 4
|
|
|
|
kHelpCharCode = 5
|
|
|
|
kBellCharCode = 7
|
|
|
|
kBackspaceCharCode = 8
|
|
|
|
kTabCharCode = 9
|
|
|
|
kLineFeedCharCode = 10
|
|
|
|
kVerticalTabCharCode = 11
|
|
|
|
kPageUpCharCode = 11
|
|
|
|
kFormFeedCharCode = 12
|
|
|
|
kPageDownCharCode = 12
|
|
|
|
kReturnCharCode = 13
|
|
|
|
kFunctionKeyCharCode = 16
|
|
|
|
kEscapeCharCode = 27
|
|
|
|
kClearCharCode = 27
|
|
|
|
kLeftArrowCharCode = 28
|
|
|
|
kRightArrowCharCode = 29
|
|
|
|
kUpArrowCharCode = 30
|
|
|
|
kDownArrowCharCode = 31
|
|
|
|
kDeleteCharCode = 127
|
|
|
|
kNonBreakingSpaceCharCode = 202
|
1995-01-30 11:53:55 +00:00
|
|
|
networkEvt = 10
|
|
|
|
driverEvt = 11
|
|
|
|
app1Evt = 12
|
|
|
|
app2Evt = 13
|
|
|
|
app3Evt = 14
|
|
|
|
app4Evt = 15
|
1995-06-06 13:08:40 +00:00
|
|
|
networkMask = 0x0400
|
|
|
|
driverMask = 0x0800
|
|
|
|
app1Mask = 0x1000
|
|
|
|
app2Mask = 0x2000
|
|
|
|
app3Mask = 0x4000
|
|
|
|
app4Mask = 0x8000
|