aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/plat-mac/Carbon/Events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/Carbon/Events.py')
-rw-r--r--Lib/plat-mac/Carbon/Events.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/plat-mac/Carbon/Events.py b/Lib/plat-mac/Carbon/Events.py
index 48534698f7a..269f4f1449f 100644
--- a/Lib/plat-mac/Carbon/Events.py
+++ b/Lib/plat-mac/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
@@ -87,7 +87,7 @@ kPencilUnicode = 0x270E
kCheckUnicode = 0x2713
kDiamondUnicode = 0x25C6
kBulletUnicode = 0x2022
-kAppleLogoUnicode = 0xF8FF
+kAppleLogoUnicode = 0xF8FF
networkEvt = 10
driverEvt = 11
app1Evt = 12