bind held key without blocking typing
1
vote
0
answers
135
views
I have a foot pedal that I would like to toggle a file's contents when pressed and released.
I have got the foot pedal acting like a normal key with a keycode and disabled it from repeating with
xset -r
.
But when I bind it to a command with sxhkd/xbindkeys they block me from typing while it is pressed. I need to be able to type while it is pressed.
sxhkd:
F25
echo dictate > ~/mode
@F25
echo command > ~/mode
Asked by utamdekq
(21 rep)
Apr 30, 2021, 02:28 PM
Last activity: Apr 30, 2021, 02:53 PM
Last activity: Apr 30, 2021, 02:53 PM