RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Scheduled Pinned Locked Moved Help and Support
    inputraspberry pi 0retrogameportablegpio
    4 Posts 2 Posters 909 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mooseprM
      moosepr
      last edited by

      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?

      want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

      1 Reply Last reply Reply Quote 1
      • obsidianspiderO
        obsidianspider
        last edited by

        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

        mooseprM 2 Replies Last reply Reply Quote 0
        • mooseprM
          moosepr @obsidianspider
          last edited by

          @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

          want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

          1 Reply Last reply Reply Quote 0
          • mooseprM
            moosepr @obsidianspider
            last edited by

            @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!!! :)

            want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            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.