Hi folks,
What I'm trying to do is to map commands to keystrokes in BASH or another shell.
NOT in X. Just sticking to the TTYS !
So far I have worked the following table.
Code:
### keycodes
## play/pause
#quick
0x00 0x81 0xa4 0x80 0x81 0xa4
#slow
0x00 0x81 0xa4
0x80 0x81 0xa4
## stop
#quick
0x00 0x81 0xa6 0x80 0x81 0xa6
#slow
0x00 0x81 0xa6
0x80 0x81 0xa6
### Scancodes
## play/pause
#quick
0xe0 0x22 0xe0 0xa2
#slow
0xe0 0x22
0xe0 0xa2
## stop
#quick
0xe0 0x24 0xe0 0xa4
#slow
0xe0 0x24
0xe0 0xa4
These were made with showkey.
Now I would like to map them in this fashion
https://wiki.archlinux.org/index.php...eys_in_Console
Another alternative I have tried is
http://www.linuxhowtos.org/System/as...ds_to_keys.htm
But some of the keys do not output anything.
Thanks in advance
Bookmarks