Skip to content

Commit 5fabd0b

Browse files
committed
Switch it to be 1/20th of a second instead of 1/30th of a second delay
1 parent edb30e7 commit 5fabd0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main-ui/controller/key_watcher_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_input(self, timeoutInMilliseconds):
114114
self.last_held_input = next(iter(self.held_controller_inputs), None)
115115

116116
while self.last_held_input is None and (time.time() - start_time) < timeout:
117-
time.sleep(0.032) # 1/30 of a second delay
117+
time.sleep(0.05) # 1/20 of a second delay
118118
self.last_held_input = next(iter(self.held_controller_inputs), None)
119119

120120
return self.last_held_input

main-ui/controller/key_watcher_controller_miyoo_mini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def get_input(self, timeoutInMilliseconds):
137137
self.last_held_input = next(iter(self.held_controller_inputs), None)
138138

139139
while self.last_held_input is None and (time.time() - start_time) < timeout:
140-
time.sleep(0.032) # 1/30 of a second delay
140+
time.sleep(0.05) # 1/20 of a second delay
141141
self.last_held_input = next(iter(self.held_controller_inputs), None)
142142

143143
return self.last_held_input

0 commit comments

Comments
 (0)