mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Prevent fiddly joystick by requiring release
This commit is contained in:
@@ -284,7 +284,7 @@ class SeedToolsView(View):
|
|||||||
input = View.buttons.wait_for(
|
input = View.buttons.wait_for(
|
||||||
[B.KEY_UP, B.KEY_DOWN, B.KEY_RIGHT, B.KEY_LEFT, B.KEY_PRESS, B.KEY1, B.KEY2, B.KEY3],
|
[B.KEY_UP, B.KEY_DOWN, B.KEY_RIGHT, B.KEY_LEFT, B.KEY_PRESS, B.KEY1, B.KEY2, B.KEY3],
|
||||||
check_release=True,
|
check_release=True,
|
||||||
release_keys=[B.KEY_PRESS, B.KEY2]
|
release_keys=[B.KEY_UP, B.KEY_DOWN, B.KEY_RIGHT, B.KEY_LEFT, B.KEY_PRESS, B.KEY2]
|
||||||
)
|
)
|
||||||
|
|
||||||
if previous_button_is_active:
|
if previous_button_is_active:
|
||||||
|
|||||||
Reference in New Issue
Block a user