I have bought a (DIGITECH XC-4943) multi-media keyboard. It has no manual and some of the keys are not labelled. Is there a utility (or some delphi code) I can use to display the messages that each key sends ?
migrated from stackoverflow.com Jul 25 '12 at 9:05
This question came from our site for professional and enthusiast programmers.
You have different options depending on the OS you use.
First, you must know a few terms:
As a Linux user, you can use the
If you do not see a keycode on your screen against a keypress, you must take a chance with finding its scancodes and assigning a keycode to them.
Press the key on a TTY Terminal and then execute:
If you see something akin to this:
You know that the kernel recognizes the keypress, but has no keycode assigned to it. Use the
EDIT: Let me know if you want more information on doing all this from within Xorg. Or for further information on creating and assigning special keys.