nirenjan / libx52

Saitek X52/X52pro drivers & controller mapping software for Linux
https://nirenjan.github.io/libx52
GNU General Public License v2.0
115 stars 14 forks source link

Axis input does not get reported correctly by kernel module #1

Closed nirenjan closed 11 years ago

nirenjan commented 12 years ago

The Saitek X52 has a total of 7 physical axes, although the kernel module reports 11. The following axes are not reported properly by the input interface:

Stick X Stick Y Stick twist (Rz) Throttle Rx Throttle Ry Mouse stick X Mouse stick Y

The Hat (HAT0X, HAT0Y), throttle and slider axes are all reported correctly (more or less).

nirenjan commented 12 years ago

I suspect that the issue may be due to bad fuzz and flat params in input_abs_set_params for the non-working axes.

nirenjan commented 11 years ago

Upon testing the patch, the throttle axes are reported properly, however, the stick axes are not reported at all. This result may be due to a different issue and perhaps the first 4 bytes are not getting decoded correctly. This needs further investigation. Reopening the issue.