diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-07-20 13:32:37 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-07-20 14:09:12 +0200 |
commit | d776bc06babb22fbeb0a0ea513ab15163dcc9622 (patch) | |
tree | a9df6efa6b68fc8842690a2f000887f7109456d5 /turtetris_master/usb_input.py | |
parent | e51ab98da06992a2fb76bb9f6e54c59924b40ee5 (diff) | |
download | turris-tetris-d776bc06babb22fbeb0a0ea513ab15163dcc9622.tar.gz turris-tetris-d776bc06babb22fbeb0a0ea513ab15163dcc9622.tar.bz2 turris-tetris-d776bc06babb22fbeb0a0ea513ab15163dcc9622.zip |
Make game area wider
Diffstat (limited to 'turtetris_master/usb_input.py')
-rw-r--r-- | turtetris_master/usb_input.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |