Move multimedia keys and Henkan/Muhenkan keys to separate keycodes for 'legacy' keyboards
Submitted by Egbert Eich
Assigned to Xorg Project Team
As described in https://bugs.freedesktop.org/show_bug.cgi?id=72353 the legacy keyboard driver maps two multimedia keys to the same keycodes generated by the Henkan and Muhenkan keys of the Japanese 106 keyboard. This leaves Japanese users either without Henkan and Muhenkan or without the two multimedia keys. The patch in the mentioned ticket readded the Henkan/Muhenkan keys sacrificing the multimedia keys. A better solution would be to map one of the two sets to the range of yet unused keycodes above 0xfc. The downside of this solution is that both xkeyboard-config and xf86-input-keyboard would have to be updated in sync as the changes to the driver need to be reflected in the keyboard configuration. As requested in that ticket, I have The two patches which are going to be introduced here will change the keycodes for the multimedia keys as this seems to be the cleaner solution.
Please note that this only affects 'legacy' keyboards. Evdev based keyboards will not be affected by this.