diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2023-06-18 01:22:02 +0200 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2023-06-18 01:22:02 +0200 |
commit | 2eb9a6f33820ca02cef1b8993c64f744cfe7d3b3 (patch) | |
tree | 353efd9507514d73a7f3e1ae1d90bde513b0807f | |
parent | 8db42981047c880c25a291324a3cd064dc601c36 (diff) |
Add keycode identification
-rw-r--r-- | keyboard.md | 5 |
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 }' |