m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/keyboard.md
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard.md')
-rw-r--r--keyboard.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard.md b/keyboard.md
new file mode 100644
index 0000000..9ecd548
--- /dev/null
+++ b/keyboard.md
@@ -0,0 +1,5 @@
+# Dealing with keyboards and their inputs
+
+Identifying keycodes:
+
+ xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'