The Archwiki article Map scancodes to keycodes statesMapping scancodes to keycodes is universal and not specific to Linux console or Xorg [...]while the Archwiki article Extra keyboard keys (which the former article suggests to read) statesNote that the keycodes are different for Linux console and Xorg.Which of the two is true? Or am I getting something wrong and it is no contradiction at all?
Mapping scancodes to keycodes
xorg;keyboard;keyboard layout