From 868ea57212c9f71315c62fefc6c83d8ccec6ae24 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Fri, 05 Feb 2010 04:05:35 +0000 Subject: - Corrijo keep error - Corrijo imagen de las teclas de juego, el texto explicativo y los codigos de las teclas - Subo version a 8 --- (limited to 'dominoactivity.py') diff --git a/dominoactivity.py b/dominoactivity.py index ac3f20d..0ccb3e8 100644 --- a/dominoactivity.py +++ b/dominoactivity.py @@ -313,15 +313,15 @@ class Domino(activity.Activity): def on_keypress(self, widget, event): key = gtk.gdk.keyval_name(event.keyval) - # Agrego las teclas de juego de la XO (Triangulo arriba = KP_Page_Up , X = KP_Page_Down, Circulo = KP_End + # Agrego las teclas de juego de la XO (Circulo arriba = KP_Page_Up , X = KP_Page_Down, Check = KP_End if key in ('KP_Up','KP_Right','KP_Down','KP_Left','KP_Page_Up','KP_Page_Down','KP_End', 'space','KP_8','KP_6','KP_2','KP_4','Escape','Return','Up','Down','Left','Right'): if (key in ('KP_Page_Up')): - key = 'Return' + key = 'space' if (key in ('KP_Page_Down')): key = 'Escape' if (key in ('KP_End')): - key = 'space' + key = 'Return' if (key in ('Up', 'KP_8')): key = 'KP_Up' @@ -489,4 +489,3 @@ class Domino(activity.Activity): - -- cgit v0.9.1