Skip to content

Instantly share code, notes, and snippets.

@jamiecurran
Last active December 29, 2015 23:19
Show Gist options
  • Save jamiecurran/7741907 to your computer and use it in GitHub Desktop.
Save jamiecurran/7741907 to your computer and use it in GitHub Desktop.
Identifying keyboard keys
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment