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

    Change Keymap for RETROPIE SETUP on PS3 Controller

    Scheduled Pinned Locked Moved Help and Support
    ps3 controllerretroarchretropiesetup
    1 Posts 1 Posters 1.0k 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.
    • P
      pumrum
      last edited by pumrum

      Apologies if this is already documented, but I've been searching the forums and google for hours, but haven't found exactly what I'm looking for.

      Pi Model or other hardware: 3
      Power Supply used: CanaKit 2.5A
      RetroPie Version Used: 4.2 (commit c765949a68d3cf62e5c442b11c5b3bc4ca555a27)
      Built From: Pre made SD Image on RetroPie website retropie-4.2-rpi2_rpi3.img
      USB Devices connected: none
      Controller used: PS3 DualShock CECHZC2U (official)
      Error messages received: n/a
      Log found in /dev/shm/runcommand.log (if relevant): n/a
      Guide used: RetroArch Configuration
      File: n/a
      Emulator: n/a
      Attachment of config files: n/a

      I use a PS3 controller with RetroPie (pre-made SD) - and I like to have a consistent key mapping throughout the menus of emulationstation, kodi, etc. I have tweaked things so that the D-pad controls menu position, the PS3 X button activates the current selection, and the PS3 O button goes back to the previous screen. The only thing I can't figure out is how to map these keys in RETROPIE SETUP (and similar console screens such as SHOW IP, RUN COMMAND CONFIGURATION, etc).

      Currently, on the PS3 controller the default is to use the L ANALOG STICK to navigate the menus, and the SELECT button to activate the selection. I have found instructions for how to globally change the hotkey from select to something else, for example I could change the hotkey globally to X, but then to exit a core or change a save state, I would have to use the X button instead of the SELECT button - that's not what I want. I just want the hotkey and directional button change to affect the console-type menus above. Any idea which config file would do that, or if it's even possible? I've tried too many permutations to post here without muddying up the water, but have included a couple that I use elsewhere for a reference:

      ::swap PS3 A/B buttons in emulationstation so that X activates, and O goes back
      /opt/retropie/configs/all/emulationstation/es_input.cfg

      <input name="a" type="button" id="14" value="1"/>
      <input name="b" type="button" id="13" value="1"/>

      ::swap A/B buttons in retroarch
      /opt/retropie/configs/all/retroarch.cfg

      menu_swap_ok_cancel_buttons = "true"

      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.