I have a laptop with a USB number keypad. Users can access the keypad, the administrator can access the regular keyboard.
I need to disable all of the keys except for the numbers, such as F1, F2, etc.
I found instructions for disabling specific keys at
this article.
However, when I used xev to check, I found that the key events have the same identifying number as the key events on the laptop's own keyboard.
How can I disable specific keys on an external USB keypad, but not the keys on the laptop's build-in keyboard?