add DRY mode, dropping drian didnt help flap so much
parent
534bb42c06
commit
5dca6be2b3
|
|
@ -11,10 +11,14 @@ def tap(keycode):
|
|||
up(keycode)
|
||||
|
||||
def down(keycode):
|
||||
if environ.get("DRY"):
|
||||
return
|
||||
fake_input(_display, X.KeyPress, keycode)
|
||||
_display.sync()
|
||||
|
||||
def up(keycode):
|
||||
if environ.get("DRY"):
|
||||
return
|
||||
fake_input(_display, X.KeyRelease, keycode)
|
||||
_display.sync()
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ python3 ./state_to_buttons.py &
|
|||
| python3 ./stream_to_state.py \
|
||||
-n 1 \
|
||||
-m .25 \
|
||||
-r .3
|
||||
-r .1
|
||||
) &
|
||||
|
||||
while true; do
|
||||
|
|
|
|||
Loading…
Reference in New Issue