as I said in the title, VirtualBox ("Sun VirtualBox SDL GUI version 3.0.4") and VMware ("VMware Player v1.03") send strange scancodes. It works fine in qemu and bochs.
I get the "correct" scancodes for most of the keys (a-z, 0-9, space, and some other), but the arrow-keys, pageUp, pageDown, altGr and so on don't work. Some examples:
Code: Select all
key vmware-make vmware-break vbox-make vbox-break
---------------------------------------------------------------------
left E0 38 E0 B8 E0 38 E0 B8
right E1 1D 45 E1 9D C5 E0 46 E0 C6
up E0 2A E0 37 E0 AA E0 2A E0 B7 E0 AA E0 37 E0 B7
I guess that I don't initialize the keyboard properly, but I don't know what's missing. According to various scancode-tables on the web the mentioned scancodes do not exist. What am I doing wrong?
If I have to live with these scancodes, I would need at least a way to determine what scancodes I'll get...
Note: ATM I'm not doing anything to initialize the keyboard. I've tried a lot of different things before which didn't make any difference. So I think it makes no sense to post them here. But if you think it would be helpfull, I can post it, of course.
Thanks!
hrniels