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

    Retropie Menu Controller Problem (joy2key)

    Scheduled Pinned Locked Moved Help and Support
    guiretropie menucontroller probjoy2key
    4 Posts 1 Posters 1.7k 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.
    • Y
      Yourdrunkendad
      last edited by Yourdrunkendad

      Hi there, I've spent a couple hours searching through the forums and I can't find the solution to this issue. I'm using a Shanwan ps3 clone via bluetooth on retropie 4.2. I've got it all configured and working great within emulationstation and retroarch for all emulators, but I can't figure out how to get it working within the retropie menus (not sure their name exactly, here's an example picture, not from my system)
      alt text

      For some reason only the analog sticks work to move around the menus, but none of the other buttons do anything.

      Is there a .cfg file associated with those menus I can edit, or some other trick? Any help would be greatly appreciated.

      Thanks in advance,
      Jim

      Y 1 Reply Last reply Reply Quote 0
      • Y
        Yourdrunkendad @Yourdrunkendad
        last edited by Yourdrunkendad

        Seems these controls are controlled by joy2key, and automatically map button "0" to "ok" and button "1" to "back." I suppose it's possible that my controller doesn't have a button 1 or 0, but I doubt it, and I'm not home to check atm, but it seems I've been pointed in the right direction by this comment on another post.

        @BuZz said in Is there a way to map <Enter> to a non-zero button? (joy2key):

        @meleu you can adjust the codes that get sent - means customising the scripts though.

        eg. line 116 of runcommand.sh

        from

        "$ROOTDIR/supplementary/runcommand/joy2key.py" "$JOY2KEY_DEV" kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09 &

        to

        "$ROOTDIR/supplementary/runcommand/joy2key.py" "$JOY2KEY_DEV" kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09 0x0a 0x0a 0x0a &

        would assign 0x0a (enter) to buttons 2, 3 and 4 in addition to the existing mapping.

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yourdrunkendad @Yourdrunkendad
          last edited by

          Turns out button 0 and 1 on my controller are select and left thumbstick, and they work, just not terribly convenient. I'm hoping someone can shine some light on how to include buttons 13 and 14 as enter and tab respectively.

          Would I be correct in assuming 0x0a is "enter" and 0x09 is "tab" and the order in which they are written in this statement is the button # they correspond to? Is there a way to get to buttons 13 and 14 without remapping (and probably pooching) every button along the way?

          "$ROOTDIR/supplementary/runcommand/joy2key.py" "$JOY2KEY_DEV" kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09 0x0a 0x0a 0x0a &

          1 Reply Last reply Reply Quote 0
          • Y
            Yourdrunkendad
            last edited by

            Still looking for some help :D

            1 Reply Last reply Reply Quote 0
            • 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.