Keyboard mapping issue with several different guest OS

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
4ndi
Posts: 3
Joined: 9. Jun 2017, 14:06

Keyboard mapping issue with several different guest OS

Post by 4ndi »

Hi everybody,

I have a strange keyboard mapping problem with VirtualBox on Mac (5.1.22 - currently newest): My Logitech keyboard (for mac) has the right mapping in OS X (host), but there seems to be a problem with the key mapping to VirtualBox guests. When host and guest are both set to a German keyboard layout all keys are working correct except for two combinations:

* In my guests (Linux, Windows...) the keys <> and ^° are mixed.
* In my guests (Linux, Windows...) only alt-key on the right side is working as a correct modifier (e.g. for writing an @ with alt+l)

The strange aspect: It's only a problem with the Logitech keyboard. Not with the official Apple keyboard.

Any ideas? I always tried other keyboard layouts in the guest system, e.g. German (Mac), US, UK, etc., but nothing resolves this issue.

Thanks for you help in advance,

Andreas
erdeslawe
Volunteer
Posts: 241
Joined: 8. Jul 2015, 10:23

Re: Keyboard mapping issue with several different guest OS

Post by erdeslawe »

Does the Mac have to have any additional Logitech software installed to fully use the Keyboard? If so, then perhaps your Guests also need to be treated in the same way.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Keyboard mapping issue with several different guest OS

Post by socratis »

4ndi wrote:The strange aspect: It's only a problem with the Logitech keyboard. Not with the official Apple keyboard.
As erdeslawe pointed out, I think you may have found the source of the problem... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
4ndi
Posts: 3
Joined: 9. Jun 2017, 14:06

Re: Keyboard mapping issue with several different guest OS

Post by 4ndi »

Thank you for your replies. Regularly the keyboard does not need any additional drivers on any OS. I have one installed on OS X to be able to adjust the functionality of the FN key, but that's not available for Windows or Linux (my guests). I'll try to found out if there are any optional drivers for the keyboard.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Keyboard mapping issue with several different guest OS

Post by socratis »

Try to "play" with the keyboard layout of your host and your guest (I believe more for your host). Is the "Z" key to the right of the Left-Shift? Is the "/" key to the left of the Right-Shift?

Maybe your native keyboard has a different layout from the Logitech one. Any help in the Apple forums?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
4ndi
Posts: 3
Joined: 9. Jun 2017, 14:06

Re: Keyboard mapping issue with several different guest OS

Post by 4ndi »

So, I tried the Logitech drivers in Windows (guest) --> no effect.

I also tried out the effects of different keyboard layouts:

Changing it on the HOST only has an effect on the host:
* DE --> z-key --> z (expected)
* US --> z-key --> y (expected)
* DE --> <-key --> < (expected)
* US --> <-key --> ` (expected)
--> everything as expected, no effect on the guest at all

Changing it on the GUEST only has an effect on the guest:
* DE --> z-key --> z (expected)
* US --> z-key --> y (expected)
* DE --> <-key --> ^ --> simply WRONG
* US --> <-key --> ` (expected)

I also played with the different German keyboard layouts in Windows --> Same problem with all of them.

PS: It's like VirtualBox does another interpretation of keyboard signals when they come not from the regular Apple keyboard but from "other" devices.
Post Reply