Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

Looking for an answer I came across this questionthis question. There's something like this:

The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and use 89 with the setkeycodes command (again as root):

Does anyone know what the historical reasons are and why the codes differ by 8?

Looking for an answer I came across this question. There's something like this:

The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and use 89 with the setkeycodes command (again as root):

Does anyone know what the historical reasons are and why the codes differ by 8?

Looking for an answer I came across this question. There's something like this:

The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and use 89 with the setkeycodes command (again as root):

Does anyone know what the historical reasons are and why the codes differ by 8?

edited tags
Link
terdon
  • 252.7k
  • 69
  • 481
  • 719
Tweeted twitter.com/#!/StackUnix/status/446873517876068352
Source Link
Mikhail Morfikov
  • 11.1k
  • 23
  • 74
  • 113

Why does showkey show a different keycode compared to xev?

Looking for an answer I came across this question. There's something like this:

The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and use 89 with the setkeycodes command (again as root):

Does anyone know what the historical reasons are and why the codes differ by 8?