For example, we have

#define BTN_TRIGGER…………………………………0x120

I. e. the capability bit mask whether the device claims to have a BTN_TRIGGER 
is the 0x120th bit in capabilities/key, or IOW, the 32th bit in
  bit  256: 0C00000000000001

which is zero. Likewise there's no BTN_A, nor BTN_1. Interestingly there
*is* a BTN_MISC aka BTN_0:

#define BTN_MISC…………………………………………0x100
#define BTN_0…………………………………………………0x100

and the 0x100 == 256th bit in the above mask is 1. So it's not the
buttons, but the axes. We see from the abs mask  FFFFFF01000701FF that
the device claims to have all of ABS_X to ABS_GAS, and a whole lot of
others and even undefined ones. This may simply just be an uninitialized
value in the kernel driver?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1458631

Title:
  udev: /dev/input/js0 is created but no joystick attached

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1458631/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to