From d776bc06babb22fbeb0a0ea513ab15163dcc9622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 20 Jul 2017 13:32:37 +0200 Subject: Make game area wider --- turtetris_master/usb_input.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'turtetris_master/usb_input.py') diff --git a/turtetris_master/usb_input.py b/turtetris_master/usb_input.py index e19a98e..856c653 100644 --- a/turtetris_master/usb_input.py +++ b/turtetris_master/usb_input.py @@ -63,5 +63,7 @@ class Gamepad: changed = {} for key in ['left', 'right', 'up', 'down', 'select', 'start']: changed[key] = new_state[key] and not self.state[key] + if key == 'down': + changed[key] = new_state[key] self.state = new_state return changed -- cgit v1.2.3