summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/Carbon/Events.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-05-22 15:08:58 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-05-22 15:08:58 (GMT)
commita43b2c4e30ad008df6a7271890d02ee9f400af46 (patch)
tree9dbdc2337759b30bb80ec5d3555232ee99cb8c79 /Mac/Lib/Carbon/Events.py
parenta7f4ded436d4ed65ceb51000af27cb725c320659 (diff)
downloadcpython-a43b2c4e30ad008df6a7271890d02ee9f400af46.zip
cpython-a43b2c4e30ad008df6a7271890d02ee9f400af46.tar.gz
cpython-a43b2c4e30ad008df6a7271890d02ee9f400af46.tar.bz2
Regenerated from new Universal Headers.
Diffstat (limited to 'Mac/Lib/Carbon/Events.py')
-rw-r--r--Mac/Lib/Carbon/Events.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Lib/Carbon/Events.py b/Mac/Lib/Carbon/Events.py
index 21b05c4..c8c920a 100644
--- a/Mac/Lib/Carbon/Events.py
+++ b/Mac/Lib/Carbon/Events.py
@@ -21,15 +21,15 @@ diskMask = 1 << diskEvt
activMask = 1 << activateEvt
highLevelEventMask = 0x0400
osMask = 1 << osEvt
-everyEvent = 0xFFFF
+everyEvent = 0xFFFF
charCodeMask = 0x000000FF
keyCodeMask = 0x0000FF00
adbAddrMask = 0x00FF0000
# osEvtMessageMask = (unsigned long)0xFF000000
mouseMovedMessage = 0x00FA
suspendResumeMessage = 0x0001
-resumeFlag = 1
-convertClipboardFlag = 2
+resumeFlag = 1
+convertClipboardFlag = 2
activeFlagBit = 0
btnStateBit = 7
cmdKeyBit = 8
@@ -39,7 +39,7 @@ optionKeyBit = 11
controlKeyBit = 12
rightShiftKeyBit = 13
rightOptionKeyBit = 14
-rightControlKeyBit = 15
+rightControlKeyBit = 15
activeFlag = 1 << activeFlagBit
btnState = 1 << btnStateBit
cmdKey = 1 << cmdKeyBit