From 148c7d669a6ec6f25389c83b7be2cf6422456b2b Mon Sep 17 00:00:00 2001 From: Nat Date: Thu, 28 Jun 2007 19:46:45 +0000 Subject: Fix Grrr --- (limited to 'Util/KeyboardWindow.py') 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()) -- cgit v0.9.1