zero axis
This commit is contained in:
parent
a0aba9a0bb
commit
303df733a4
|
@ -94,7 +94,7 @@ class Input(GameChild):
|
|||
if not self.suppressed:
|
||||
axis = event.axis
|
||||
value = event.value
|
||||
if not value:
|
||||
if -.01 < value < .01:
|
||||
for command in "up", "right", "down", "left":
|
||||
self.post_command(command, cancel=True)
|
||||
if command not in self.any_press_ignored:
|
||||
|
|
Loading…
Reference in New Issue