summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/Carbon/Events.py
diff options
context:
space:
mode:
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