Bon et bien ce n'est pas fameux...
J'ai exécuté manuelle la commande de lancement de jeu (la même que celle déclenchée par l'API) et comme toi ça se lance sur l'ordi mais pas sur recalbox.
Je ne sais pas comment faire pour voir ce qui changerait entre l'appel de l'API et celui de recalbox lui-même.
Pour info voici la commande et ce qu'elle renvoie ensuite
python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc -system "moonlight" -rom "/recalbox/share/roms/moonlight/Steam.moonlight" -p1index "0" -p1guid "15000000010000000100000000010000" -p1name "GPIO Controller 1" -p1devicepath "/dev/input/js0" -p2index "1" -p2guid "15000000010000000200000000010000" -p2name "GPIO Controller 2" -p2devicepath "/dev/input/js1" -p3index "2" -p3guid "0000000058626f782047616d65706100" -p3name "Xbox Gamepad (userspace driver)" -p3devicepath "/dev/input/js2" -p4index "3" -p4guid "0000000058626f782047616d65706100" -p4name "Xbox Gamepad (userspace driver) #2" -p4devicepath "/dev/input/js3"
Initializing platform...done
Resolving host name...done
Starting RTSP handshake...done
Initializing control stream...done
Initializing video stream...done
Initializing audio stream...done
Initializing input stream...done
Starting control stream...done
Starting video stream...done
Starting audio stream...done
Starting input stream...done
EVIOCGRAB failed with error 22
EVIOCGRAB failed with error 22
EVIOCGRAB failed with error 22
EVIOCGRAB failed with error 22
libevdev error in libevdev_next_event: BUG: device not initialized. call libevdev_set_fd() first
Error: Bad file descriptor