diff options
author | Nat <natcl@hotmail.com> | 2007-06-28 19:46:45 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-06-28 19:46:45 (GMT) |
commit | 148c7d669a6ec6f25389c83b7be2cf6422456b2b (patch) | |
tree | a3489c8962c00328b8d0b6e541ffad2502c00da7 /Util/KeyboardWindow.py | |
parent | 96e2433f750c47eed78413d96115877bcf6d6add (diff) |
Fix Grrr
Diffstat (limited to 'Util/KeyboardWindow.py')
-rw-r--r-- | Util/KeyboardWindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Util/KeyboardWindow.py b/Util/KeyboardWindow.py index 50cb4dd..4d67375 100644 --- a/Util/KeyboardWindow.py +++ b/Util/KeyboardWindow.py @@ -122,11 +122,11 @@ class KeyboardWindow(gtk.Window): def handle_keypress(self,widget,event): - if event.hardware_keycode == 9: + if event.hardware_keycode == 9: # Hide the keyboard with escape Key self.hide_all() - elif event.hardware_keycode == 216: + elif event.hardware_keycode == 216: # Send a fake mouse event self.btn_dic["left_mouse"].set_fillcolor(random.random(),random.random(),random.random()) - elif event.hardware_keycode == 133: + elif event.hardware_keycode == 133: # Send a fake mouse event self.btn_dic["right_mouse"].set_fillcolor(random.random(),random.random(),random.random()) else: self.btn_dic[event.hardware_keycode].set_fillcolor(random.random(),random.random(),random.random()) |