Skip to content

Instantly share code, notes, and snippets.

@RavensKrag
Created December 29, 2011 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RavensKrag/26400c18f69559bc7607 to your computer and use it in GitHub Desktop.
Save RavensKrag/26400c18f69559bc7607 to your computer and use it in GitHub Desktop.
X Keysymbols versus Keycodes
data generated using showkey on Ubuntu 11.10
==========Keysymbols==========
QWERTY Layout
q 113 0161 0x71
w 119 0167 0x77
e 101 0145 0x65
r 114 0162 0x72
t 116 0164 0x74
y 121 0171 0x79
Dvorak Layout (pressing the letters of qwerty)
q 113 0161 0x71
w 119 0167 0x77
e 101 0145 0x65
r 114 0162 0x72
t 116 0164 0x74
y 121 0171 0x79
Dvorak layout (pressing the positions of QWERTY)
' 39 0047 0x27
, 44 0054 0x2c
. 46 0056 0x2e
p 112 0160 0x70
y 121 0171 0x79
f 102 0146 0x66
==========END KEYSYMBOLS==========
==========KEYCODES==========
Keyboard Layout Buttons Pressed Keycodes
QWERTY QWERTY 16 17 18 19 20 21
Dvorak QWERTY (by position) 16 17 18 19 20 21
Dvorak QWERTY (the letters) 45 51 32 24 37 20
==========END KEYCODES==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment