Tweaking debounce values a bit in advanced HID example.
This commit is contained in:
parent
7c6153cd50
commit
0b91c7ba16
1 changed files with 3 additions and 3 deletions
|
@ -108,9 +108,9 @@ for k in layers[current_layer].keys():
|
||||||
# To prevent the strings (as opposed to single key presses) that are sent from
|
# To prevent the strings (as opposed to single key presses) that are sent from
|
||||||
# refiring on a single key press, the debounce time for the strings has to be
|
# refiring on a single key press, the debounce time for the strings has to be
|
||||||
# longer.
|
# longer.
|
||||||
short_debounce = 0.025
|
short_debounce = 0.03
|
||||||
long_debounce = 0.25
|
long_debounce = 0.15
|
||||||
debounce = 0.025
|
debounce = 0.03
|
||||||
fired = False
|
fired = False
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue