Re: [PATCH] Input: joydev - Recognize joysticks with Z axis as joysticks.

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2016-09-15 22:35:52
Reply to
Ville Ranki, 2016-08-25
On Thu, Aug 25, 2016 at 05:16:50PM +0300, Ville Ranki wrote:
Current implementation of joydev's input_device_id
table recognizes only devices with ABS_X, ABS_WHEEL
or ABS_THROTTLE axes as joysticks.

There are joystick devices that do not have those axes,
for example TRC Rudder device. The device in question
has ABS_Z, ABS_RX and ABS_RY axes causing it not being
detected as joystick.

This patch adds ABS_Z to the input_device_id list
allowing devices with ABS_Z axis to be detected
correctly.

Signed-off-by: Ville Ranki <redacted>
Applied, thank you.

Although I wonder if we could not move joydev implementation to
userspace in the long run.

Thanks.

-- 
Dmitry
Thread (6 messages) 6 messages, 2 authors, last reply 2016-09-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help