m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/keyboard.md
blob: 9ecd5488b5f3016bdbdc83e3cc69589120a38535 (plain)
1
2
3
4
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 }'