PC105 keyboard - wrong scancode
Posted: Sun Jun 21, 2020 4:21 pm
In a Spanish keyboard (105 keys), the key to type < and > does not work.
In MiSTer, this key produces scancode 62h, which I don't think is bound to any character.
In DOSbox, it produces scancode 56h which correctly produces the < character (and the > character with shift). That scancode precedes F11 (57h) and F12 (58h).
I don't know if this is an issue with main, or with this core in particular. I guess these scancodes are produced by the 8042 emulation, so I'd say the issue is likely to be core-specific. But since I'm not familiar with the USB protocol for keyboards, I may be wrong.
This website sort of documents it, although the physical location nowadays is most often to the right of the left SHIFT, rather than next to ALT:
https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
Is this easy to fix?
In MiSTer, this key produces scancode 62h, which I don't think is bound to any character.
In DOSbox, it produces scancode 56h which correctly produces the < character (and the > character with shift). That scancode precedes F11 (57h) and F12 (58h).
I don't know if this is an issue with main, or with this core in particular. I guess these scancodes are produced by the 8042 emulation, so I'd say the issue is likely to be core-specific. But since I'm not familiar with the USB protocol for keyboards, I may be wrong.
This website sort of documents it, although the physical location nowadays is most often to the right of the left SHIFT, rather than next to ALT:
https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
Is this easy to fix?