[openbox] Key Chain Broken by Multiple Keyboards

The Administrator admin at nosuck.org
Mon Jun 26 16:14:44 EDT 2023


Thank you for the insight.

2023-06-26, 18:39, Mikael Magnusson:
> What does 'xinput list' show for you? In particular, are both keyboard  
> slave devices listed under the same master device?

Yes.  For full output, please see the attachment.  The two keyboards are  
each named “MYKB MK48mx”.

> ... we do two things when entering a chain: change an internal variable to  
> say where in the binding tree we are currently, and bind the keys inside  
> the chain and unbind the keys outside.

I take it that happens in keyboard_bind and tree_assimilate?  Thank you for  
the pointers.  I will try and wrap my head around this, when I find some  
time.
-------------- next part --------------
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ELAN050A:01 04F3:3158 Mouse             	id=24	[slave  pointer  (2)]
⎜   ↳ ELAN050A:01 04F3:3158 Touchpad          	id=25	[slave  pointer  (2)]
⎜   ↳ MYKB MK48mx Mouse                       	id=21	[slave  pointer  (2)]
⎜   ↳ MYKB MK48mx Mouse                       	id=28	[slave  pointer  (2)]
⎜   ↳ MYKB MK48mx Consumer Control            	id=23	[slave  pointer  (2)]
⎜   ↳ MYKB MK48mx Consumer Control            	id=12	[slave  pointer  (2)]
⎜   ↳ Smart Smart 509 dongle Consumer Control 	id=16	[slave  pointer  (2)]
⎜   ↳ Smart Smart 509 dongle                  	id=29	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Acer Wireless Radio Control             	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Video Bus                               	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=11	[slave  keyboard (3)]
    ↳ MYKB MK48mx System Control              	id=14	[slave  keyboard (3)]
    ↳ MYKB MK48mx                             	id=15	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=27	[slave  keyboard (3)]
    ↳ MYKB MK48mx System Control              	id=22	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ MYKB MK48mx Consumer Control            	id=30	[slave  keyboard (3)]
    ↳ MYKB MK48mx Consumer Control            	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=26	[slave  keyboard (3)]
    ↳ MYKB MK48mx                             	id=20	[slave  keyboard (3)]
    ↳ Power Button                            	id=10	[slave  keyboard (3)]
    ↳ Smart Smart 509 dongle Consumer Control 	id=17	[slave  keyboard (3)]
    ↳ Smart Smart 509 dongle System Control   	id=18	[slave  keyboard (3)]
    ↳ Smart Smart 509 dongle                  	id=19	[slave  keyboard (3)]


More information about the openbox mailing list