Keyboard within VMs - some keys not available or wrong
Posted: 18. Jul 2009, 10:57
(generic 105-key-keyboard; quertz, de; virtualbox-3.0 3.0.2-49928_Debian_lenny)
Some keys are not available in VMs - "not available" meaning, that they don't even generate
a scan code, so independent of the chosen keyboard layout, key events from those keys are
not visible inside a VM. The issue does not seem to depend on the guest OS; as far as I can
tell, it is the same with Linux,Windows or Solaris guests.
The most prominent missing (and missed ;-) key that I noted is "^", on German keyboard on
the left edge in the nuerical row; on the host system it generates keycode 49/keysym 0x5e
(asciicircum). Some other keys (mostly the "windows" keys) generate wrong or duplicate
keycodes inside the VM.
Does anybody know any details about the keyboard mapping between host and guest and
how to influence it?
Some keys are not available in VMs - "not available" meaning, that they don't even generate
a scan code, so independent of the chosen keyboard layout, key events from those keys are
not visible inside a VM. The issue does not seem to depend on the guest OS; as far as I can
tell, it is the same with Linux,Windows or Solaris guests.
The most prominent missing (and missed ;-) key that I noted is "^", on German keyboard on
the left edge in the nuerical row; on the host system it generates keycode 49/keysym 0x5e
(asciicircum). Some other keys (mostly the "windows" keys) generate wrong or duplicate
keycodes inside the VM.
Does anybody know any details about the keyboard mapping between host and guest and
how to influence it?