nirenjan/libx52

Axis input does not get reported correctly by kernel module

Closed this issue · 2 comments

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).

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

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.