uinput device doesn't show in gamepad/joystick list

Coşku Baş cosku.bas at gmail.com
Sat Oct 10 08:39:23 PDT 2015


Hi there,

I have created a virtual gamepad that mimics the events received from a
physical gamepad over a network connection.

To test if the system works I have run evtest and surely the virtual device
emits the correct events.

The problem is I can't seem to get any game recognize the virtual gamepad.
Most of the games I tried use SDL2 so I have run sdl2-jstest application
and expectedly the virtual device was not listed. Is it possible to
advertise my uinput device as a real gamepad so that games can make use of
it?

As a side note, evtest only lists the device if it's ran as root. Running
sdl2-jstest as root did not made a difference though.

Any help would be appreciated.
Thanks.


More information about the Input-tools mailing list