Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpad #6

Open
clarkewd opened this issue Aug 13, 2018 · 0 comments
Open

Numpad #6

clarkewd opened this issue Aug 13, 2018 · 0 comments

Comments

@clarkewd
Copy link

I have a USB numpad attached, something like this:

485693

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

If I debug using this command:

/root/actkbd/actkbd -s -d /dev/input/by-id/usb-13ba_0001-event-kbd --verbose 9

Then pressing 1 with numlock on thus yields:

Keys: 69
Keys: 79
Keys: 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:

69:key:ungrabbed,noexec,grab:
69:rel:grabbed,noexec,ungrab,rcvrel,allrel:
79:key:ungrabbed,grab:/usr/bin/mycmd

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant