mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Merge pull request #159 from mauriciozuardi/patch-1
Fine tuning joystick parameters to reduce miskeys.
This commit is contained in:
@@ -42,8 +42,8 @@ class Buttons(Singleton):
|
||||
cls._instance.cur_input = None # Track which direction or button was last pressed
|
||||
cls._instance.cur_input_started = None # Track when that input began
|
||||
cls._instance.last_input_time = int(time.time() * 1000) # How long has it been since the last input?
|
||||
cls._instance.first_repeat_threshold = 175 # Long-press time required before returning continuous input
|
||||
cls._instance.next_repeat_threshold = 250 # Amount of time where we no longer consider input a continuous hold
|
||||
cls._instance.first_repeat_threshold = 225 # Long-press time required before returning continuous input
|
||||
cls._instance.next_repeat_threshold = 300 # Amount of time where we no longer consider input a continuous hold
|
||||
|
||||
return cls._instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user