From 44b8f4c45eae745cd9594285c1767bdb83b41f5a Mon Sep 17 00:00:00 2001 From: Ignacio Rodríguez Date: Sat, 30 Nov 2013 13:09:08 +0000 Subject: Use gamepad arrows and buttons to play the game --- (limited to 'cardtable.py') 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] -- cgit v0.9.1