evdev: Unexpected abs bits

When running evdev::enumerate I get the following output:

abs bits: 11110000000100000000000000000000000000000000
thread 'main' panicked at 'evdev: unexpected abs bits! report a bug'

I guess I was asked to open this issue 😉

As I don’t know which exact infos you need, I’ll just post my xinput output for now. Feel free to ask for additional information.

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                   	id=9	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                   	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Burr-Brown from TI               USB Audio CODEC 	id=13	[slave  keyboard (3)]
    ↳ Logitech Gaming Keyboard G910           	id=11	[slave  keyboard (3)]
    ↳ Logitech Gaming Keyboard G910           	id=12	[slave  keyboard (3)]

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I was beaten to it. The capability enumeration has been reworked into bitvec and this library will no longer panic if it doesn’t recognize an abs axis or rel axis by name.

IMO this is a fairly serious forwards-compatibility bug.

What is your kernel version?