Device Specific Layout with Multiple Groups Reverts to Group 1 Every Time Key or Button on Another Device is Pressed
Submitted by dre..@..il.com
Assigned to Xorg Project Team
Link to original bug (#103112)
Description
I have recently taken to attempting to use XKB to create custom layouts for my Razer Tartarus Gaming Keypad. The idea is to have a different layout for each application I use, while having a custom daemon that switches layouts automatically based on the active window. This is working fairly well, but then I started messing with Groups. I decided it would be useful for each layout to include a second group that has nearly every key on a typical keyboard, for those times when I need a key that I didn't feel was important enough to include on the Group 1 map. The problem is that, since I'm using a keypad with only 21 buttons, I've had to get creative with modifiers (most keys in this group have 13 levels), and the basic ones (Shift, Control and Alt) have all had to be mapped to my mouse. This has caused a problem though: Any time I press a mouse or keyboard button while my Keypad is set to Group 2, it reverts to Group 1. I have to press the Shift key on my mouse, then switch my Tartarus back to Group 2 while still holding Shift down every time I need a shifted character.
I saw that this had been reported nearly a decade ago, and wasn't working as intended, but apparently, no one has fixed it yet. I figured a new bug report was better than resurrecting that old one.