platform based alt left an right
@@ -44,12 +44,13 @@ KEY_ALT_A = 165
KEY_ALT_B = 171
KEY_ALT_C = 167
KEY_ALT_S = 159
-KEY_ALT_LEFT = (91, 49, 59, 57, 68)
-KEY_ALT_RIGHT = (91, 49, 59, 57, 67)
-KEY_ALT_SHIFT_LEFT = (91, 49, 59, 57, 67, 9999) # unkown
-KEY_ALT_SHIFT_RIGHT = (91, 49, 59, 57, 67, 9999) # unkown
+
+KEY_ALT_SHIFT_LEFT = (None,) # unkown
+KEY_ALT_SHIFT_RIGHT = (None,) # unkown
if sys.platform == 'darwin':
+ KEY_ALT_LEFT = (91, 49, 59, 57, 68)
+ KEY_ALT_RIGHT = (91, 49, 59, 57, 67)
KEY_CTRL_DOWN = 521
KEY_CTRL_SHIFT_DOWN = 522
KEY_CTRL_LEFT = 541
@@ -59,6 +60,8 @@ if sys.platform == 'darwin':
KEY_CTRL_UP = 562
KEY_CTRL_SHIFT_UP = 563
else:
+ KEY_ALT_LEFT = (98,)
+ KEY_ALT_RIGHT = (102,)
KEY_CTRL_DOWN = 524
KEY_CTRL_SHIFT_DOWN = 525
KEY_CTRL_LEFT = 544
