PS-like controller joysticks problem
-
Hi,
I bought this controller on Amazon : https://www.amazon.fr/gp/product/B00546SWJQ
(Esperanza Gamepad EG102 WARRIOR PC)I ran jstest on my PC, and I noticed multiple problems with joysticks :
- Joystick on the left send the same commands that the directional arrows, but it is all or nothing, not progressive, the value pass from 0 to +- 32767 in one step.
- Far worse, the joystick on the right send the same commands that ABXY (or 1234 on this controller) buttons, it is not detected as axes but as buttons !
Here is the "lsusb" output for this device :
Bus 006 Device 002: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
Here is the "cat /proc/bus/input/devices" output :
I: Bus=0003 Vendor=0079 Product=0006 Version=0110
N: Name="Microntek USB Joystick "
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.0/0003:0079:0006.0003/input/input13
U: Uniq=
H: Handlers=event12 js0
B: PROP=0
B: EV=20001b
B: KEY=fff00000000 0 0 0 0
B: ABS=30027
B: MSC=10
B: FF=107030000 0Is there a way to remap the controller ? Or is it just a very bad controller ?
Thanks in advance !
-
Well, found the answer there : https://pineight.com/mw/index.php?title=USB_game_controller
Under the "DragonRise Inc. Generic USB Joystick" device : "A "mode" button at the bottom center of the face switches between two modes, signaled by green and red LEDs next to the button. Green appears to be designed for games expecting only digital controls, while red makes all analog controls available."
There is the same type of mode button on my controller named "ANALOG". When in analog mode, all is working correctly. jstest output is normal.
Should've thought about it sooner !Hope it helps !
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.