There are a number of problems with describing scancodes unambiguously,
particularly when it comes to the backslash. Depending on the layout, it
could be found at:
Scancode in set | 1 | 2 | 3 |
--------------------------------------------------+----+----+----+
* The key above "Tab" | 29 | 0E | 0E |
* The key between "=" and "Backspace" | 7D | 6A | 5D |
* The key below "Backspace" and above "Return" | 2B | 5D | 5C |
* The key to the left of "Return" | 2B | 5D | 53 |
* The key between "Left Shift" and "Z" | 56 | 61 | 13 |
--------------------------------------------------+----+----+----+
An 84-key AT keyboard will return the Set 3 codes for these positions.
--
John Elliott