Add script to show keyvalues

This commit is contained in:
The Magician 2025-06-07 15:28:12 +01:00
parent 746585c5ef
commit 0230d86a47
1 changed files with 3 additions and 0 deletions

3
getkeys Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "% 3s %s\n", $5, $8 }'