← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 418470] Re: USB Gamepad detected as mouse (Speedlink 360 style)

 

Well, I'm a bit lost...

I only manage to get it recognized when using the entry 
<merge key="input.x11_driver" type="string">joystick</merge>
in the relevant .fdi file.
(one "OK but not perfect fdi file" can be found here : https://help.ubuntu.com/community/Joystick_lshal_outputs_done?action=AttachFile&do=view&target=acrux-usb-gamepad-8116.fdi )

Which requires to install the package xserver-xorg-input-joystick beforehand.
HOWEVER, I thought this joystick driver was deprecated and one was supposed to use the "evdev" driver.

Nothing occurs when using "evdev" but when you use "joystick" the gamepad is recognized as both a joystick and a mice.
You can manually disable some mouse events ; for instance by adding the following line to the fdi file :
<merge key="input.x11_options.SendCoreEvents" type="string">false</merge>
Still... Some mouse buttons events still occur (right click for instance). And it seems, that the second stick axis are inverted (seen when using gunroar).
I tried to invert axis with line such as <merge key="input.x11_options.MapAxis1" type="string">mode=relative axis=+1x deadzone=5000</merge> but they only affect the... mouse behaviour :-)

So to summarize, I lack some insight :-) I wonder why...
1) it doesn't work automagically ?
2) why do I have to install & use the "joystick" driver instead of evdev ?
3) why is it recognized as both a mouse and stick ?
4) why are some axis inverted ? :-)

I guess most peripherals work out of the box. What can I do to improve
the situation ? :-)

Thanks for reading this annoying blabbering. :-)

(tested under 32&64 bits Jaunty / Karmic)

-- 
USB Gamepad detected as mouse (Speedlink 360 style)
https://bugs.launchpad.net/bugs/418470
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.



References