Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Control issues



  • Hi there

    I would like to think that i know what im doing with linux, and retropie, but this one has me stumped!!

    Im using a fresh install of retropie, for a handheld device (my TinyPi Device) and im using adafruit retrogame for the input which is working fine in the menu (i have installed it the same as i have in the past with it working fine, including the extra sdl config) however when i launch a game, i have no controls!!

    I have also tried using a kernel level input driver, that reads the gpio and converts it to keyboard commands, and this also gives me the same issue!!

    Its almost like the initial input setup is not correctly updating a config file or something?!?

    Am i missing something totally obvious?



  • I'm assuming you already tried the troubleshooting on Adafruit's site?

    Since it's emulating keyboard presses, if you drop out of EmulationStation to a command prompt, then press buttons on the "controller", do letters show up on the screen?



  • @obsidianspider the buttons do leave text in the terminal (the ones that are mapped to letters of course) and the directions act as arrowkeys as expected.

    I have had a little look in /opt/retropie/configs/all and the contents of retroarch.cfg match the mappings i have set. I need to test it with a normal keyboard, see if that works better



  • @obsidianspider ok i found the issue!!!!!

    i had copy/pasted the config line within /etc/udev/rules.d/10-retrogame.rules (i create this manually rather than using the adafruit install script)

    was checking the config file and noticed that the config contents looked odd

    SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="1"

    at first glance it looked fine, but when i typed another double quote next to the exsisting ones, it looked slightly different!! so i re-typed all the quotes, and everything is fine and dandy again!!! :)



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.