summaryrefslogtreecommitdiff
path: root/cameltris/controller.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 14:20:51 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 14:33:32 +0100
commit71ff729b4d42a28d300c62ac4b436d8143e6a8cc (patch)
treee2e81b840a1802c76f5a7abb0f258fcab1e63d9f /cameltris/controller.py
parent8f82ba5acd095b78fcec9d63f2977c04c778f02b (diff)
Remove trailing newlines and add blank lines were needed
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'cameltris/controller.py')
-rw-r--r--cameltris/controller.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cameltris/controller.py b/cameltris/controller.py
index 86f5bcb..a1abf05 100644
--- a/cameltris/controller.py
+++ b/cameltris/controller.py
@@ -56,7 +56,6 @@ class JoystickController(Controller):
def is_pressed(self, input_: Input):
return self.joystick.get_button(self.mapping[input_].value)
-
def get_input_down(self, event):
for key, value in self.mapping.items():
if value.value == event.button: