Layer in "send" eingebaut
This commit is contained in:
parent
52c686a0e7
commit
abeb3fdf1c
|
@ -127,11 +127,14 @@ while True:
|
|||
fired = True
|
||||
|
||||
# Send the right sort of key press and set debounce for each
|
||||
if current_layer == 1:
|
||||
debounce = short_debounce
|
||||
# für text senden langen debounce einstellen
|
||||
if current_layer == 0:
|
||||
keyboard.send(key_press)
|
||||
elif current_layer == 1:
|
||||
keyboard.send(key_press)
|
||||
elif current_layer == 2:
|
||||
keyboard.send(key_press)
|
||||
elif current_layer == 3:
|
||||
debounce = short_debounce
|
||||
consumer_control.send(key_press)
|
||||
|
||||
# If enough time has passed, reset the fired variable
|
||||
|
|
Loading…
Reference in New Issue