Comment 12 for bug 45930

Revision history for this message
Micah Cowan (micahcowan) wrote : Re: debdiff to enable evtest

I don't think that's the reason: at least, it doesn't seem to be for me. My joystick is /dev/input/js0, I want to use that, not some event* name like evtest forces.

jstest works fine, with the exception that it segfaults when it tries to print out the "names" of the buttons.

The ioctls that fill in axmap and btnmap fill in all-zeroes. For axmap, that results in a proclamation that all the axes are named "X". For btnmap, that /segfaults/, because the values are expected to be in the range [BTN_MISC, KEY_MAX], and no error-checking is done.