OrangePI Club
Emulationstation don't recognize wireless "3 in 1" controller - Printable Version

+- OrangePI Club (http://orangepi.club)
+-- Forum: International (English) Forums (http://orangepi.club/forumdisplay.php?fid=3)
+--- Forum: *nix Distro (http://orangepi.club/forumdisplay.php?fid=4)
+---- Forum: RetrOrangePi v4 (http://orangepi.club/forumdisplay.php?fid=31)
+----- Forum: SUPPORT (http://orangepi.club/forumdisplay.php?fid=34)
+----- Thread: Emulationstation don't recognize wireless "3 in 1" controller (/showthread.php?tid=2527)



Emulationstation don't recognize wireless "3 in 1" controller - mrxiong - 05-31-2018

Hello everyone!

First of all, I want to tell THANK YOU guys for your hard work, RetrOrangePi V4 is just awesome!

But one thing bothers me - I can't set up my wireless 3-in-1 gamepad - emulationstation just showing that there are no controllers connected. Gamepad model something like Dobe TI-501.

A little bit info:
- Controller recognized well within both windows and desktop linux.

- When controller connected, new device appears (lsusb):
Bus 006 Device 005: ID 1949:0402 Lab126, Inc.

- New input device appears under "/dev/input" path:
/dev/input/js0

- When I enter the command in the terminal "jstest /dev/input/js0" there are no problems with reading events from this gamepad.

Is there any way to configure such controllers? If I need to run any tests then I ready to go Smile


Thanks in advance!


RE: Emulationstation don't recognize wireless "3 in 1" controller - alexkidd - 06-01-2018

we dont have that controller to test. Doing some research, i found out that maybe an udev rule might be needed:

sudo nano /etc/udev/rules.d/99-terios-t3.rules

SUBSYSTEM=="input", ATTRS{name}=="Gamepad", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"


RE: Emulationstation don't recognize wireless "3 in 1" controller - mrxiong - 06-02-2018

(06-01-2018, 08:22 PM)alexkidd Wrote: we dont have that controller to test. Doing some research, i found out that maybe an udev rule might be needed:

sudo nano /etc/udev/rules.d/99-terios-t3.rules

SUBSYSTEM=="input", ATTRS{name}=="Gamepad", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"

It's working after changing ATTRS{name}=="Gamepad" to the name, which i get with "evtest".

My udev rule now seems like

SUBSYSTEM=="input", ATTRS{name}=="3 In 1 Android Controller", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"

There are some autoconfig problems after that (wrong mappings in retroarch), but i think i can handle that Smile

Thanks for your help!