• 0 Votes
    3 Posts
    273 Views
    R

    @mitu said in mapping select+start to Alt+F4, using xboxdrv:

    Try with:

    ... --ui-buttonmap start=KEY_ENTER,back=KEY_BACKSPACE,back+start=KEY_LEFTALT+KEY_F4 ...

    this works, thanks a lot! i could swear i'd tried this...

  • 0 Votes
    3 Posts
    431 Views
    duglorD

    @Folly said in Super Pitfall PC-88- lr-quasi88 - Jump Button Mapping?:

    @duglor

    Strange key, but F7 is the key for jumping.
    You can assign it in the retroarch-gui -> controls -> port 1 controls -> retro keyboard -> (assign, for example, "s" to "keyboard F7" -> go back 1 step and you should be able to save a game-specific remap file.
    This is save in :
    /opt/retropie/configs/pc88/QUASI88
    and loaded next time you start the game again.

    Worked like a charm. F7 eh? I swore i tried every key, perhaps in the speed in which i did it with , i didn't notice.lol. Thanks VERY VERY much!

  • 0 Votes
    2 Posts
    1k Views
    YFZdudeY

    @MetalGamerFil
    Please supply the information requested in
    https://retropie.org.uk/forum/topic/3/read-this-first

    In which mode are you using the controller?

    I had some trouble configuring mine with a couple of buttons when it was in X-input mode (X + Start when turning on the controller). Some of buttons were showing up as analog axes instead of button presses. I solved it by changing the mode to either Switch mode (Y + Start) or D-input (B + Start) and re-configuring the controller.

    I think part of the problem is EmulationStation doesn't want you to use an Axis when configuring certain buttons. Not sure if this could be fixed in the auto configuration. I believe you could manually edit the controller config to get around that though.

  • lr-fuse mapping USB gamepad

    Help and Support
    4
    0 Votes
    4 Posts
    566 Views
    pjftP

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

  • 0 Votes
    2 Posts
    329 Views
    S

    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

  • 0 Votes
    3 Posts
    427 Views
    C

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

  • 0 Votes
    10 Posts
    3k Views
    simpleethatS

    @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).

  • 0 Votes
    13 Posts
    1k Views
    D

    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.

  • 0 Votes
    41 Posts
    8k Views
    L

    @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.

  • 0 Votes
    3 Posts
    560 Views
    P

    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.

  • 0 Votes
    4 Posts
    731 Views
    B

    @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.

  • 0 Votes
    4 Posts
    521 Views
    mituM

    @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.

  • N64 Remapping for every game

    Help and Support
    9
    0 Votes
    9 Posts
    767 Views
    B

    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)
  • 0 Votes
    15 Posts
    466 Views
    B

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

  • 0 Votes
    6 Posts
    929 Views
    paffleyP

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

  • 0 Votes
    5 Posts
    1k Views
    schmiddymanS

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

  • 0 Votes
    3 Posts
    862 Views
    A

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

  • 0 Votes
    1 Posts
    239 Views
    No one has replied
  • 2 Votes
    3 Posts
    2k Views
    S

    Thank you! Worked for me