Please do not post a support request without first reading and following the advice in

EmulationStation not picking up an arduino micro gamepad but jstest does

  • I have made a 2 player arcade gamepad using an arduino micro and the Joystick.h library(so the arduino is emulating a joystick rather than a keyboard). However EmulationStation does not detect any any gamepads at all. But evtest and jstest both detect every button press.

  • Global Moderator

    @arduinoGamepad Emulationstation is using SDL's joystick sub-system to handle joysticks, my guess it's not detected as such. There's a similar sdl-jstest utility -which is similar to jstest - that tests whether the joystick is detected by SDL.

    To get it detected by ES, try one of these - in order

    • add a local udev rule to force the device to appear as a joystick:
    SUBSYSTEM=="input", ATTRS{idVendor}=="<VID>", ATTRS{idProduct}=="<PID>"  ENV{ID_INPUT_JOYSTICK}="1"

    substituting VID and PID with the values you get for your controller from running lsusb.

    • Use Xboxdrv to make your device be seen as an Xbox driver.

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.