From 2eb9a6f33820ca02cef1b8993c64f744cfe7d3b3 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 18 Jun 2023 01:22:02 +0200 Subject: Add keycode identification --- keyboard.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 keyboard.md 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 }' -- cgit v1.2.3