RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. mapping keys
    Log in to post
    • All categories
    • mgrunt

      lr-fuse mapping USB gamepad
      Help and Support • lr-fuse usb gamepad mapping keys • • mgrunt

      4
      0
      Votes
      4
      Posts
      112
      Views

      pjft

      @mgrunt I don't know, apologies. Glad it's sorted.

    • safesinger

      Help with changing save state in Retropie/FBA
      Help and Support • save slot mapping keys retropie • • safesinger

      2
      0
      Votes
      2
      Posts
      128
      Views

      safesinger

      I just went ahead and added a hot-key button on the arcade cabinet. I really did not want it on the control deck. So I decided to cut a hole under the control deck.
      Nice thing about adding it there is that it's thin as hell and easy to cut through.

      alt text

    • Codafire

      MSDos controller mapping by game
      Help and Support • msdos msdos games mapping keys • • Codafire

      3
      0
      Votes
      3
      Posts
      187
      Views

      Codafire

      @mitu thanks mitu, i try it!!! I was reading some posts about it

    • xyz

      8Bitdo SN30 Pro USB mapping problem
      Help and Support • 8bitdo sn30 pro mapping keys retropie 4.6 • • xyz

      10
      0
      Votes
      10
      Posts
      1520
      Views

      simpleethat

      @BobRossWins I have that controller and had the same problem. It seems that Retropie is looking at the L2/R2 triggers as axis instead of buttons. I'm not able to get to my Pi right now so I can't give you the complete path but you can force the assignment by editing the cfg file, with the information in the last post here: https://retropie.org.uk/forum/topic/27253/8bitdo-sn30-pro-wired-trigger-assignment

      That worked for me. Something odd that I haven't had the chance yet to investigate: I did a full update with the paddle plugged in and it was then registering L2/R2 as buttons and then I was able to assign them through the GUI.

      I hope this helps, I'll be able to be at my Pi tomorrow to add the path to the cfg file I edited, (it's in configs/all I just don't remember the rest).

    • derebo

      how to configure PS3 Compatible wireless controller? (Universal Controller xboxdrv)
      Help and Support • xboxdrv controller mappping mapping keys • • derebo

      13
      0
      Votes
      13
      Posts
      530
      Views

      derebo

      I have tried it with the simple configuration you suggest in /opt/retropie/configs/msx/retroarch.cfg and have not been successful. I have run different combinations and, after no luck, I have reintalled from scracth:

      Latest RetroPie 4.6
      Only SNES Compatible USB Controller
      Installed only xboxdrv and lr-bluemsx

      to reach the same situation in previous message. Briefly:

      pi@retropie:~ $ ls -alh /dev/input/by-id/ total 0 drwxr-xr-x 2 root root 80 Apr 29 21:26 . drwxr-xr-x 4 root root 200 Apr 29 21:26 .. lrwxrwxrwx 1 root root 9 Apr 29 21:26 usb-0810_usb_gamepad-event-joystick -> ../event0 lrwxrwxrwx 1 root root 6 Apr 29 21:26 usb-0810_usb_gamepad-joystick -> ../js0 pi@retropie:~ $ sudo cat /etc/rc.local if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \ --evdev /dev/input/by-id/usb-0810_usb_gamepad-event-joystick \ --silent \ --detach-kernel-driver \ --force-feedback \ --deadzone-trigger 15% \ --deadzone 4000 \ --device-name "VIRTUAL-SNES2XBOX-CONTROLLER" \ --evdev-absmap ABS_X=dpad_x,ABS_Y=dpad_y \ --evdev-keymap BTN_THUMB=a,BTN_THUMB2=b,BTN_TRIGGER=x,BTN_WEST=y \ --evdev-keymap BTN_BASE3=back,BTN_BASE4=start \ --evdev-keymap BTN_TOP2=lb,BTN_PINKIE=rb \ --dpad-only \ --ui-axismap lt=void,rt=void \ --ui-buttonmap y=KEY_SPACE \ --ui-buttonmap lb=void,rb=KEY_0 \ & exit 0 pi@retropie:~ $ sudo cat /opt/retropie/configs/all/retroarch-joypads/VIRTUAL-SNES2XBOX-CONTROLLER.cfg input_device = "VIRTUAL-SNES2XBOX-CONTROLLER" input_driver = "udev" input_enable_hotkey_btn = "4" input_up_axis = "-1" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_select_btn = "4" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_y_btn = "3" input_x_btn = "2" input_menu_toggle_btn = "2" input_down_axis = "+1" input_start_btn = "5" input_exit_emulator_btn = "5" input_b_btn = "1" input_reset_btn = "1" input_a_btn = "0" pi@retropie:~ $ cat /opt/retropie/configs/all/runcommand-onstart.sh pi@retropie:~ $ cat /opt/retropie/configs/all/runcommand-onend.sh cat: /opt/retropie/configs/all/runcommand-onend.sh: No such file or directory

      runcommand-onstart.sh is an empty file and runcommand-onend.sh does not exist

      pi@retropie:~ $ evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: usb gamepad /dev/input/event1: VIRTUAL-SNES2XBOX-CONTROLLER - Keyboard Emulation /dev/input/event2: VIRTUAL-SNES2XBOX-CONTROLLER Select the device event number [0-2]: ^C

      Mind it is event2 that responds to SNES Compatible USB Controller (not event1) and mind controller configuration is set to global (all).

      pi@retropie:~ $ sudo cat /opt/retropie/configs/all/retroarch.cfg [...] input_player1_joypad_index = "1" input_player2_joypad_index = "0" input_player3_joypad_index = "2" input_player4_joypad_index = "3" [...]

      With the configuration above SNES Compatible USB Controller is usable in EmulationStation. When entering RetroPie > Retroarch (usable as well)...
      usb gampead configured in port #0
      VIRTUAL-SNES2XBOX-CONTROLLER configured in port #1

      Retroarch > Settings > Input >
      Port 1 Binds VIRTUAL-SNES2XBOX-CONTROLLER
      Port 2 Binds usb gamepad

      So the correlation between /opt/retropie/configs/all/retroarch.cfg and Port Binds is obvious.

      Entering MSX videogame...

      usb gampead configured in port #0
      VIRTUAL-SNES2XBOX-CONTROLLER configured in port #1

      Controller is irresponsive. However, Select+Start (exit emulator) works at least and I can return to EmulationStation. At this stage, I don't know what else to test...

      Many thanks in advance for your support all the way.

    • lghtanddrk

      Forced to re-map EmulationStation controls every time on boot
      Help and Support • control mapping mapping mapping keys map on startup controller map • • lghtanddrk

      41
      0
      Votes
      41
      Posts
      4051
      Views

      lghtanddrk

      @mitu That's how I originally started out and it didn't work. I have weeks of work into this image now and don't want to wipe it out on a whim until I know that every avenue has been explored. And as I said earlier, it's happening on multiple different images.

    • paulslocum

      Joystick mapping doesn't work in emulators
      Help and Support • controller map mapping keys • • paulslocum

      3
      0
      Votes
      3
      Posts
      229
      Views

      paulslocum

      Thanks, I'll try that. It sounds like it is basically a bug since it should automatically invert an axis if I map the controls reversed. Some people want to flip joysticks around and use them left-handed, so the software shouldn't really assume a "correct" orientation.

    • RetroNerdman

      How can I enable combo keys (like 3xPunch or 3xKick) in FBNeo?
      Help and Support • finalburn neo controller map mapping keys • • RetroNerdman

      4
      0
      Votes
      4
      Posts
      401
      Views

      barbudreadmon

      @RetroNerdman Nope, you go there : https://www.bountysource.com/issues/69769485-feature-request-input-mapper-macros . Also having a github account to reply "i opened a bounty" to this issue is a good idea though.

    • Erdrick

      Unable to Configure Controller
      Help and Support • support controller mapping keys newbie • • Erdrick

      4
      0
      Votes
      4
      Posts
      276
      Views

      mitu

      @Erdrick said in Unable to Configure Controller:

      My hunch is since I configured it for a keyboard and nothing else, he needs a keyboard to select input configuration and it should work from there.

      If you configured a keyboard as controller in ES, I think the initial controller configuration screen would not show

      If that's the case - and he gets the normal ES system carousel - then he'll not be able to configure the controller on 1st boot. He would, indeed, need a keyboard.

    • BlackDice

      N64 Remapping for every game
      Help and Support • mapping keys • • BlackDice

      9
      0
      Votes
      9
      Posts
      371
      Views

      BlackDice

      ok i tried it. This is my config. But it didnt work. my idea for the select Button is to push the eft and right shoulder button at the same time

      DPad U = hat(0 Up) DPad D = hat(0 Down) DPad L = hat(0 Left) DPad R = hat(0 Right) Start = button(9) Z Trig = button(7) A Button = button(6) B Button = button(8) C Button U = button(0) C Button D = button(2) C Button L = button(3) C Button R = button(1) Y Axis = axis(1-,1+) X Axis = axis(0-,0+) R Trig = button(5) L Trig = button(4) Select = button(4) button(5)
    • beezerhale

      Joystick/buttons work in ES and games, but not Retroarch
      Help and Support • retroarch mapping keys configuration • • beezerhale

      15
      0
      Votes
      15
      Posts
      198
      Views

      beezerhale

      Thank you for all the guidance. It appears all is working well.

    • paffley

      Megapi Retroflag Controller config
      Help and Support • megapi controller help mapping keys • • paffley

      6
      0
      Votes
      6
      Posts
      452
      Views

      paffley

      So I got it to work. (In ES input) After I choose X as left shoulder and Z and right shoulder, I then had to assign the left and right bumpers on the controller as left trigger and right trigger. Before I was skipping these on the controller due to them being assigned to X and Z. All working fine now :)

    • schmiddyman

      One Keyboard for two players -> key mapping problems
      Help and Support • keyboard mappin 2 player setup mame2003 mapping keys • • schmiddyman

      5
      0
      Votes
      5
      Posts
      687
      Views

      schmiddyman

      I found the problem. Mame seems to define a controller + a keyboard as possible inputs. Since my controller is a device that is mapped through RetroPad the event gets fired twice: once through the keyboard emulation and once through RetroPad. If the mapping is even different in the retroarch.cfg in can cause some strange events overlapping each other.
      Solution: I changed the MAME input configuration to only receive one input (RetroPad). That solved it :)

    • Arcord

      Controller mapping seems to change depending on the game/console
      Help and Support • n64 ps4 controller mapping keys hotkey • • Arcord

      3
      0
      Votes
      3
      Posts
      601
      Views

      Arcord

      Thanks for you answer!

      I didn't know about the different emulators but I was using Mupen64plus which has his own config...
      I tried lr-mupen64plus but the cinematics appears black sometimes and the game crashed a few times...

      So a (re)switch on Mupen64plus.

      Just in case someone has the same issue I drop here the configuration issue I had:
      In the config file (/opt/retropie/configs/from_retropie/configs/n64/mupen64plus.cfg) I had this line:

      # Joystick event string for stopping the emulator Joy Mapping Stop = "J1B10/B9"

      The combination B10 (hotkeys) and B9 (start) seems to be ok for me BUT my controller was J0 not J1. It fix the "stop emulator" command. Now I have to check for the load/save state commands.

      Thanks again for you answer. It really helped me :-)

    • Dinsdale

      Recommendation for 3 button Mega Drive controller mapping?
      Help and Support • mapping keys • • Dinsdale

      1
      0
      Votes
      1
      Posts
      159
      Views

      No one has replied

    • Ramez

      [Solution] How to use Gamepad/Joystick in PIXEL (lxde) instead of Mouse/Keyboard
      Help and Support • gamepad config gamepad control mouse remapping mapping keys • • Ramez

      2
      2
      Votes
      2
      Posts
      1315
      Views

      notthesame

      Thanks for this info, glad you brought this up, got it running thanks.

      I can use my virtual keyboard to type on my desktop now :)

    • andharri

      N64 button mapping woes
      Help and Support • n64 mapping mapping keys • • andharri

      11
      0
      Votes
      11
      Posts
      5861
      Views

      lmp03

      @coloq said in N64 button mapping woes:

      So... ... still having the issue despite what documentation says I should do...

      As I mentioned before, if you map the physical “a” button to the virtual “b” button and the physical “b” button to the virtual “y” button it will work as you want.

    • Amishgamer

      Can not map buttons in retroarch
      Help and Support • retropie retropie 4.4 retroarch mapping keys mapping • • Amishgamer

      7
      0
      Votes
      7
      Posts
      3165
      Views

      mitu

      @thejester Don't enable config save on exit' in RetroArch, it usually messes up your controls. Instead, configure the gamepad in Emulationstation and if you want to fine tune your controls, then use the RGUI to re-map the controller and choose Core Remapping menu to save it per core or game/rom.
      Also, when you have a problem unrelated to the topic at hand, don't just hijack it with your questions/problems, just open a new topic instead.

    • jaymcmeans

      Configure specific controller gamepad in retroarch.cfg
      Help and Support • control config retroarch cfg mapping keys • • jaymcmeans

      3
      0
      Votes
      3
      Posts
      271
      Views

      mitu

      @jigidyjim Please don't bump years old topics.