dabo Commit
Revision 7149
Date: 2012-04-27 08:53:30 -0700 (Fri, 27 Apr 2012)
Author: Ed
Trac: http://trac.dabodev.com/changeset/7149

Changed:
U   trunk/dabo/ui/uiwx/dKeys.py

Log:
Added references to the numpad arrow keys in dKeys.numpadArrowKeys dict, as 
well as the allArrowKeys dict that combines regular and numpad arrow keys.

Diff:
Modified: trunk/dabo/ui/uiwx/dKeys.py
===================================================================
--- trunk/dabo/ui/uiwx/dKeys.py 2012-04-26 16:52:01 UTC (rev 7148)
+++ trunk/dabo/ui/uiwx/dKeys.py 2012-04-27 15:53:30 UTC (rev 7149)
@@ -143,8 +143,19 @@
                "up" : key_Up,
                "down" : key_Down,
                "left" : key_Left,
-               "right" : key_Right }
+               "right" : key_Right
+               }
 
+numpadArrowKeys = {
+               "numpad_up": key_Numpad_up,
+               "numpad_down": key_Numpad_down,
+               "numpad_left": key_Numpad_left,
+               "numpad_right": key_Numpad_right,
+               }
+
+allArrowKeys = arrowKeys.copy()
+allArrowKeys.update(numpadArrowKeys)
+
 modifierStrings = {
        "alt": mod_Alt,
        "shift": mod_Shift,



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to