This commit is contained in:
Ray Elliott 2020-08-09 13:53:06 +01:00
commit e4b7f615fa
33 changed files with 543 additions and 0 deletions

6
keycodes Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
# https://wiki.archlinux.org/index.php/Keyboard_input#Using_evtest
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'