Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorIgnacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-11-30 13:09:08 (GMT)
committer Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org>2013-11-30 13:09:08 (GMT)
commit44b8f4c45eae745cd9594285c1767bdb83b41f5a (patch)
treefd39f3d0665b6275c41e29ea2be1c6432861c8c7 /cardtable.py
parent369a720c8c9474af18bea239f03fdb895aa40329 (diff)
Use gamepad arrows and buttons to play the game
Diffstat (limited to 'cardtable.py')
-rw-r--r--cardtable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cardtable.py b/cardtable.py
index 1c7d957..e6c839d 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -190,7 +190,7 @@ class CardTable(gtk.EventBox):
self.selected_card = (coord[0], coord[1])
def key_press_event(self, widget, event):
- #self.table.grab_focus()
+ self.table.grab_focus()
x = self.selected_card[0]
y = self.selected_card[1]