From 580130d99c798c9fb0034f4daba96f8357927f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 20 Jul 2017 14:17:28 +0200 Subject: Add score --- turtetris_master/usb_input.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'turtetris_master/usb_input.py') diff --git a/turtetris_master/usb_input.py b/turtetris_master/usb_input.py index 856c653..dc01489 100644 --- a/turtetris_master/usb_input.py +++ b/turtetris_master/usb_input.py @@ -63,7 +63,6 @@ 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] + # TODO repeat self.state = new_state return changed -- cgit v1.2.3