You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a USB numpad attached, something like this:
I'd like to program it to execute commands when the keys are pressed. When numlock is off pressing the numeric keys gives a keycode somewhere between 70 and 82 - but when numlock is on three key codes fire for each press with the first and last being 69
I want to setup /etc/actkbd.conf so numlock is ignored and the key will still exec whatever I have set (eg: /usr/bin/mycmd) with both numlock on and off?
What would the config for that look like? I tried this with no luck:
I have a USB numpad attached, something like this:
I'd like to program it to execute commands when the keys are pressed. When
numlock
isoff
pressing the numeric keys gives a keycode somewhere between70
and82
- but whennumlock
ison
three key codes fire for each press with the first and last being69
If I debug using this command:
Then pressing
1
with numlock on thus yields:I want to setup
/etc/actkbd.conf
so numlock is ignored and the key will stillexec
whatever I have set (eg:/usr/bin/mycmd
) with both numlock on and off?What would the config for that look like? I tried this with no luck:
Thanks
The text was updated successfully, but these errors were encountered: