Homepage Forums Search Search Results for 'hotkey'

Viewing 35 results - 911 through 945 (of 1,077 total)
  • Author
    Search Results
  • #21197
    Xboxclassic
    Guest

    Yes it is possible to do both.

    Emulation bootscreen-
    to insert picture of your choice you need to exit emulationstation and start Linux (startx at command prompt)
    in Linux go to File explorer.
    goto
    /home/pi/RetroPie-Setup/supplementary/splashscreens
    make a new folder for you picture.
    insert your picture into this folder — It must be in either .JPG or .Png format.

    now log out of Linux.

    at command prompt type
    cd RetroPie-Setup
    sudo ./retropie_setup.sh

    (if you get error about hdspace ignore and press y enter)

    Go down to option 3 (enter)
    Go down to option 313 (enter)
    Go down to Your Splashscreen that you created (enter)

    message = Splashscreen set (enter)
    goto cancel (arrow keys Enter)(or Escape)

    go down to 7 Perform Reboot (OK)(Enter)

    as for quit emulationstation to quit
    if you mean as in short to exit with single button press
    either by key or joystick
    then you`d have to edit
    emulationstation menu configuration itself there are many tutorials on hotkey whichmay help.

    zsprawl
    Participant

    Migrating from 2.2 to 2.3

    If you are looking to migrate from 2.2 to 2.3, it is much easier to copy files off the old image using winscp (or something similar), then copy them back into place in 2.3. Save these files:

    /opt/retropie/configs/all/*
    /etc/emulationstation/es_system.cfg
    /home/pi/RetroPie/roms/*

    Your saved games are located in the roms folder, if you’d prefer to only save those (since I hope you backup your roms elsewhere!)

    —–

    Fresh Build

    1) Download the latest version of RetroPie’s SD image. This document is based off version 2.3.

    https://www.petrockblock.com/download/retropie-project-image/

    2) Download and use Win32 Disk Imager to apply the above SD image to a 4 GB or larger SD card. 8 GB is really recommended.

    http://sourceforge.net/projects/win32diskimager/

    3) Boot the SD Image on your Raspberry Pi.

    4) The first time the system boots up into Emulation Station, you will need to setup your joystick.

    5) If this is a new Pi, you’ll probably want to update to the latest firmware and reboot. You may need to use a wired cable even if you plan on using wifi.

    sudo rpi-update
    sudo reboot
    sudo apt-get update && sudo apt-get upgrade -y

    6) I purchased a EW-7811Un USB wifi, which is supported by the Raspberry Pi out of the box. I also have a TL-WN725N, which can be setup as follows:

    http://www.raspberrypi.org/forums/viewtopic.php?p=462982#p462982

    tar -zxvf 8188eu-201xyyzz.tar.gz
    sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
    sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
    sudo depmod -a

    7) Now we need to setup wifi. Edit /etc/network/interfaces to configure wlan0.

    allow-hotplug wlan0
    auto wlan0
    iface wlan0 inet dhcp
    wpa-ssid zInternet
    wpa-psk *******

    8) Before we can move to configuring everything via SSH, we need to configure our joystick for the emulators themselves.

    cd /opt/retropie/emulators/RetroArch/installdir/bin
    sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg

    9) Grab the IP address and SSH into the device to continue configuration. The default user/password that comes with Raspbian is used: The username is “pi”, the password is “raspberry”.

    10) Let’s setup the player 2 controller for our emulators before we forget.

    cd /opt/retropie/configs/all/
    vi retroarch.cfg

    Copy and paste the entire section that begins with “input_player1_” and change it to “input_player2_”. Don’t forget to change the “input_player_joypad_index” to 1 or 2 as well.

    Note: If you have a keyboard connected, things can be a little odd. You may need to change the joypad index to 0 and 1 if you remove the keyboard, which I’m going to do.

    At the end of the retroarch.cfg file, it is a good idea to add the following to allow you to press select+start to exit the game.

    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"

    I also like to take advantage of the save and load states in emulation, which some people consider cheating. Add the following lines to enable these buttons on your joypad.

    input_save_state_btn = "5"
    input_load_state_btn = "4"

    After this has been done, you can hold select and press the L and R paddles to save and load states respectively. I also like to add some in-game volume control.

    input_volume_up_axis = "-1"
    input_volume_down_axis = "+1"

    11) Run configuration.

    sudo raspi-config

    12) Change password.

    13) Change Memory-split to 384.

    14) Set your time zone and localization options, then configure the keyboard keymap. I used en_US.UTF-8.

    15) Expand root file system to fill entire SD card.

    16) Force audio out of audio jack (instead of HDMI).

    17) Exit from tool and reboot.

    18) SSH back in (if you are using DHCP, the resizing of the file system can cause an IP change).

    19) Now copy your Roms to the SMB shares (ex. \\RaspberryPi\snes is where the Super Nintendo ROMs go).

    20) All done? Reboot and game on.

    sudo reboot

    21) Start up any Genesis/Megadrive game and press F1 on the keyboard. Go through the options and select “6-button controller” for Sega Genesis. Save the config.

    22) And once you are happy for a few days, go back into “raspi-config” and overclock your pi, if you are feeling daring. It will iron out some of the annoying blips in audio. I purchased a few heat sinks just in case. I go turbo without issue.

    #20097
    spiffo
    Participant

    OK, Bump !

    I tried adding:

    input_enable_hotkey_btn = “8”
    input_exit_emulator_btn = “9”

    To the end of the /all/retroarch.cfg file and again that exits fine from the Atari2600 Emulator by pressing the ‘Start’ and ‘Select’ buttons together.

    Doesn’t work in the Atari800 Emulator though :-(

    deaftolight
    Participant

    I want to set up hotkeys for different controllers, because while I usually use a PS3 controller, I bought an N64 controller to play N64 games with. However, since the button mappings are different, it can cause problems (i.e. the hotkey becomes the left dpad, causing left + x to exit or perform some other function). Can this be done?

    #19851
    jerzythepeddler
    Participant

    [quote=19847]Try this (mine):

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "6"
    input_player1_start_btn = "7"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "0"
    input_player1_x_btn = "2"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    input_player2_joypad_index = "1"
    input_player2_b_btn = "1"
    input_player2_y_btn = "3"
    input_player2_select_btn = "6"
    input_player2_start_btn = "7"
    input_player2_up_axis = "-1"
    input_player2_down_axis = "+1"
    input_player2_left_axis = "-0"
    input_player2_right_axis = "+0"
    input_player2_a_btn = "0"
    input_player2_x_btn = "2"
    input_player2_l_btn = "4"
    input_player2_r_btn = "5"
    input_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"

    [/quote]Cool thanks. Just for my peace of mind how would you edit the config file to add this? I feel like i’ve tried a couple of ways to get to the retroarch.cfg and sometimes it gives me the “e325 attention found a swap file by the name” thing and I’m just wanting to make sure I’m doing it the best way.

    #19847
    Avatar2200
    Guest

    Try this (mine):

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "6"
    input_player1_start_btn = "7"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "0"
    input_player1_x_btn = "2"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    input_player2_joypad_index = "1"
    input_player2_b_btn = "1"
    input_player2_y_btn = "3"
    input_player2_select_btn = "6"
    input_player2_start_btn = "7"
    input_player2_up_axis = "-1"
    input_player2_down_axis = "+1"
    input_player2_left_axis = "-0"
    input_player2_right_axis = "+0"
    input_player2_a_btn = "0"
    input_player2_x_btn = "2"
    input_player2_l_btn = "4"
    input_player2_r_btn = "5"
    input_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"
    #19804
    b1
    Guest

    I have got the plane loop to work – that was my mistake.

    However I can’t get the other buttons to work or the other games. I have looked and they are compatible. Also doenst make sense that the default Apple II doesn’t work either.

    I have run jstest and confirmed all the buttons. I have added the hotkey_btn as well with “” and without. But nothing seems to work. Im sure its just a config issue but I have done everything all the posts say and cannot insert coins and cannot start the game.

    If I insert coins via the keyboard I still cannot start the game by pressing the start button – this doesn’t make much sense as it shouldn’t be a hotkey related issue.

    Thanks

    #19687
    Tanner
    Guest

    input_player1_joypad_index = “0”
    input_player1_b_btn = “14”
    input_player1_y_btn = “15”
    input_player1_select_btn = “0”
    input_player1_start_btn = “3”
    input_player1_up_btn = “4”
    input_player1_down_btn = “6”
    input_player1_left_btn = “7”
    input_player1_right_btn = “5”
    input_player1_a_btn = “13”
    input_player1_x_btn = “12”
    input_player1_l_btn = “8”
    input_player1_r_btn = “9”
    input_player1_l2_btn = “10”
    input_player1_r2_btn = “11”
    input_player2_joypad_index = “1”
    input_player2_b_btn = “14”
    input_player2_y_btn = “15”
    input_player2_select_btn = “0”
    input_player2_start_btn = “3”
    input_player2_up_btn = “4”
    input_player2_down_btn = “6”
    input_player2_left_btn = “7”
    input_player2_right_btn = “5”
    input_player2_a_btn = “13”
    input_player2_x_btn = “12”
    input_player2_l_btn = “8”
    input_player2_r_btn = “9”
    input_player2_l2_btn = “10”
    input_player2_r2_btn = “11”
    input_enable_hotkey_btn_ = “0”
    input_save_state_btn = “8”
    input_load_state_btn = “9”
    input_menu_toggle = “f1”
    input_menu_toggle_btn = “16”
    input_axis_threshold = “0.500000”
    load_dummy_on_core_shutdown = “true”
    fps_show = “false”
    libretro_path = “/opt/retropie/emulatorcores/picodrive/picodrive_libretro.so”
    rewind_enable = “false”
    audio_latency = “64”
    audio_sync = “true”
    audio_block_frames = “0”
    rewind_granularity = “1”
    video_shader = “/opt/retropie/emulators/RetroArch/shader/hq4x.glslp”
    video_shader_enable = “false”
    video_aspect_ratio = “-1.000000”
    video_windowed_fullscreen = “true”
    video_xscale = “3.000000”
    autosave_interval = “0”
    video_yscale = “3.000000”
    video_crop_overscan = “true”
    video_scale_integer = “false”
    video_smooth = “false”
    video_threaded = “false”
    video_shared_context = “false”
    video_fullscreen = “false”
    video_refresh_rate = “59.950001”
    video_monitor_index = “0”
    video_fullscreen_x = “0”
    video_fullscreen_y = “0”
    video_driver = “gl”
    menu_driver = “rgui”
    video_vsync = “true”
    video_hard_sync = “false”
    video_hard_sync_frames = “0”
    video_black_frame_insertion = “false”
    video_disable_composition = “false”
    pause_nonactive = “false”
    video_swap_interval = “1”
    video_gpu_screenshot = “true”
    video_rotation = “0”
    screenshot_directory = “default”
    aspect_ratio_index = “0”
    audio_rate_control = “true”
    audio_rate_control_delta = “0.005000”
    audio_driver = “alsathread”
    audio_out_rate = “48000”
    video_font_size = “32.000000”
    video_font_enable = “true”
    system_directory = “default”
    audio_resampler = “sinc”
    savefile_directory = “default”
    savestate_directory = “default”
    video_shader_dir = “default”
    video_filter_dir = “default”
    audio_filter_dir = “default”
    content_directory = “default”
    assets_directory = “default”
    rgui_browser_directory = “default”
    rgui_config_directory = “default”
    rgui_show_start_screen = “false”
    game_history_size = “100”
    input_autodetect_enable = “true”
    overlay_directory = “default”
    input_overlay_enable = “false”
    input_overlay_opacity = “0.700000”
    input_overlay_scale = “1.000000”
    gamma_correction = “false”
    triple_buffering_enable = “false”
    soft_filter_enable = “false”
    flicker_filter_enable = “false”
    flicker_filter_index = “0”
    soft_filter_index = “0”
    current_resolution_id = “0”
    custom_viewport_width = “960”
    custom_viewport_height = “720”
    custom_viewport_x = “160”
    custom_viewport_y = “0”
    block_sram_overwrite = “false”
    savestate_auto_index = “false”
    savestate_auto_save = “false”
    savestate_auto_load = “true”
    fastforward_ratio = “-1.000000”
    slowmotion_ratio = “3.000000”
    config_save_on_exit = “true”
    sound_mode = “0”
    state_slot = “0”
    netplay_spectator_mode_enable = “false”
    netplay_mode = “false”
    netplay_ip_port = “0”
    netplay_delay_frames = “0”
    custom_bgm_enable = “false”
    input_driver = “udev”
    input_device_p1 = “0”
    input_libretro_device_p1 = “1”
    input_player1_analog_dpad_mode = “0”
    input_device_p2 = “0”
    input_libretro_device_p2 = “1”
    input_player2_analog_dpad_mode = “0”
    input_device_p3 = “0”
    input_player3_joypad_index = “2”
    input_libretro_device_p3 = “1”
    input_player3_analog_dpad_mode = “0”
    input_device_p4 = “0”
    input_player4_joypad_index = “3”
    input_libretro_device_p4 = “1”
    input_player4_analog_dpad_mode = “0”
    input_device_p5 = “0”
    input_player5_joypad_index = “4”
    input_libretro_device_p5 = “1”
    input_player5_analog_dpad_mode = “0”
    input_device_p6 = “0”
    input_player6_joypad_index = “5”
    input_libretro_device_p6 = “1”
    input_player6_analog_dpad_mode = “0”
    input_device_p7 = “0”
    input_player7_joypad_index = “6”
    input_libretro_device_p7 = “1”
    input_player7_analog_dpad_mode = “0”
    input_device_p8 = “0”
    input_player8_joypad_index = “7”
    input_libretro_device_p8 = “1”
    input_player8_analog_dpad_mode = “0”
    input_player1_b = “z”
    input_player1_b_axis = “nul”
    input_player1_y = “a”
    input_player1_y_axis = “nul”
    input_player1_select = “rshift”
    input_player1_select_axis = “nul”
    input_player1_start = “enter”
    input_player1_start_axis = “nul”
    input_player1_up = “up”
    input_player1_up_axis = “nul”
    input_player1_down = “down”
    input_player1_down_axis = “nul”
    input_player1_left = “left”
    input_player1_left_axis = “nul”
    input_player1_right = “right”
    input_player1_right_axis = “nul”
    input_player1_a = “x”
    input_player1_a_axis = “nul”
    input_player1_x = “s”
    input_player1_x_axis = “nul”
    input_player1_l = “q”
    input_player1_l_axis = “nul”
    input_player1_r = “w”
    input_player1_r_axis = “nul”
    input_player1_l2 = “nul”
    input_player1_l2_axis = “nul”
    input_player1_r2 = “nul”
    input_player1_r2_axis = “nul”
    input_player1_l3 = “nul”
    input_player1_l3_btn = “nul”
    input_player1_l3_axis = “nul”
    input_player1_r3 = “nul”
    input_player1_r3_btn = “nul”
    input_player1_r3_axis = “nul”
    input_player1_l_x_plus = “nul”
    input_player1_l_x_plus_btn = “nul”
    input_player1_l_x_plus_axis = “nul”
    input_player1_l_x_minus = “nul”
    input_player1_l_x_minus_btn = “nul”
    input_player1_l_x_minus_axis = “nul”
    input_player1_l_y_plus = “nul”
    input_player1_l_y_plus_btn = “nul”
    input_player1_l_y_plus_axis = “nul”
    input_player1_l_y_minus = “nul”
    input_player1_l_y_minus_btn = “nul”
    input_player1_l_y_minus_axis = “nul”
    input_player1_r_x_plus = “nul”
    input_player1_r_x_plus_btn = “nul”
    input_player1_r_x_plus_axis = “nul”
    input_player1_r_x_minus = “nul”
    input_player1_r_x_minus_btn = “nul”
    input_player1_r_x_minus_axis = “nul”
    input_player1_r_y_plus = “nul”
    input_player1_r_y_plus_btn = “nul”
    input_player1_r_y_plus_axis = “nul”
    input_player1_r_y_minus = “nul”
    input_player1_r_y_minus_btn = “nul”
    input_player1_r_y_minus_axis = “nul”
    input_player1_turbo = “nul”
    input_player1_turbo_btn = “nul”
    input_player1_turbo_axis = “nul”
    input_toggle_fast_forward = “space”
    input_toggle_fast_forward_btn = “nul”
    input_toggle_fast_forward_axis = “nul”
    input_hold_fast_forward = “l”
    input_hold_fast_forward_btn = “nul”
    input_hold_fast_forward_axis = “nul”
    input_load_state = “f4”
    input_load_state_axis = “nul”
    input_save_state = “f2”
    input_save_state_axis = “nul”
    input_toggle_fullscreen = “f”
    input_toggle_fullscreen_btn = “nul”
    input_toggle_fullscreen_axis = “nul”
    input_exit_emulator = “escape”
    input_exit_emulator_axis = “nul”
    input_state_slot_increase = “f7”
    input_state_slot_increase_btn = “nul”
    input_state_slot_increase_axis = “nul”
    input_state_slot_decrease = “f6”
    input_state_slot_decrease_btn = “nul”
    input_state_slot_decrease_axis = “nul”
    input_rewind = “r”
    input_rewind_btn = “nul”
    input_rewind_axis = “nul”
    input_movie_record_toggle = “o”
    input_movie_record_toggle_btn = “nul”
    input_movie_record_toggle_axis = “nul”
    input_pause_toggle = “p”
    input_pause_toggle_btn = “nul”
    input_pause_toggle_axis = “nul”
    input_frame_advance = “k”
    input_frame_advance_btn = “nul”
    input_frame_advance_axis = “nul”
    input_reset = “h”
    input_reset_btn = “nul”
    input_reset_axis = “nul”
    input_shader_next = “m”
    input_shader_next_btn = “nul”
    input_shader_next_axis = “nul”
    input_shader_prev = “n”
    input_shader_prev_btn = “nul”
    input_shader_prev_axis = “nul”
    input_cheat_index_plus = “y”
    input_cheat_index_plus_btn = “nul”
    input_cheat_index_plus_axis = “nul”
    input_cheat_index_minus = “t”
    input_cheat_index_minus_btn = “nul”
    input_cheat_index_minus_axis = “nul”
    input_cheat_toggle = “u”
    input_cheat_toggle_btn = “nul”
    input_cheat_toggle_axis = “nul”
    input_screenshot = “f8”
    input_screenshot_btn = “nul”
    input_screenshot_axis = “nul”
    input_audio_mute = “f9”
    input_audio_mute_btn = “nul”
    input_audio_mute_axis = “nul”
    input_netplay_flip_players = “i”
    input_netplay_flip_players_btn = “nul”
    input_netplay_flip_players_axis = “nul”
    input_slowmotion = “e”
    input_slowmotion_btn = “nul”
    input_slowmotion_axis = “nul”
    input_enable_hotkey = “nul”
    input_enable_hotkey_btn = “0”
    input_exit_emulator_btn = “nul”
    input_enable_hotkey_axis = “nul”
    input_volume_up = “add”
    input_volume_up_btn = “nul”
    input_volume_up_axis = “nul”
    input_volume_down = “subtract”
    input_volume_down_btn = “nul”
    input_volume_down_axis = “nul”
    input_overlay_next = “nul”
    input_overlay_next_btn = “nul”
    input_overlay_next_axis = “nul”
    input_disk_eject_toggle = “nul”
    input_disk_eject_toggle_btn = “nul”
    input_disk_eject_toggle_axis = “nul”
    input_disk_next = “nul”
    input_disk_next_btn = “nul”
    input_disk_next_axis = “nul”
    input_grab_mouse_toggle = “f11”
    input_grab_mouse_toggle_btn = “nul”
    input_grab_mouse_toggle_axis = “nul”
    input_menu_toggle_axis = “nul”
    input_player2_b = “nul”
    input_player2_b_axis = “nul”
    input_player2_y = “nul”
    input_player2_y_axis = “nul”
    input_player2_select = “nul”
    input_player2_select_axis = “nul”
    input_player2_start = “nul”
    input_player2_start_axis = “nul”
    input_player2_up = “nul”
    input_player2_up_axis = “nul”
    input_player2_down = “nul”
    input_player2_down_axis = “nul”
    input_player2_left = “nul”
    input_player2_left_axis = “nul”
    input_player2_right = “nul”
    input_player2_right_axis = “nul”
    input_player2_a = “nul”
    input_player2_a_axis = “nul”
    input_player2_x = “nul”
    input_player2_x_axis = “nul”
    input_player2_l = “nul”
    input_player2_l_axis = “nul”
    input_player2_r = “nul”
    input_player2_r_axis = “nul”
    input_player2_l2 = “nul”
    input_player2_l2_axis = “nul”
    input_player2_r2 = “nul”
    input_player2_r2_axis = “nul”
    input_player2_l3 = “nul”
    input_player2_l3_btn = “nul”
    input_player2_l3_axis = “nul”
    input_player2_r3 = “nul”
    input_player2_r3_btn = “nul”
    input_player2_r3_axis = “nul”
    input_player2_l_x_plus = “nul”
    input_player2_l_x_plus_btn = “nul”
    input_player2_l_x_plus_axis = “nul”
    input_player2_l_x_minus = “nul”
    input_player2_l_x_minus_btn = “nul”
    input_player2_l_x_minus_axis = “nul”
    input_player2_l_y_plus = “nul”
    input_player2_l_y_plus_btn = “nul”
    input_player2_l_y_plus_axis = “nul”
    input_player2_l_y_minus = “nul”
    input_player2_l_y_minus_btn = “nul”
    input_player2_l_y_minus_axis = “nul”
    input_player2_r_x_plus = “nul”
    input_player2_r_x_plus_btn = “nul”
    input_player2_r_x_plus_axis = “nul”
    input_player2_r_x_minus = “nul”
    input_player2_r_x_minus_btn = “nul”
    input_player2_r_x_minus_axis = “nul”
    input_player2_r_y_plus = “nul”
    input_player2_r_y_plus_btn = “nul”
    input_player2_r_y_plus_axis = “nul”
    input_player2_r_y_minus = “nul”
    input_player2_r_y_minus_btn = “nul”
    input_player2_r_y_minus_axis = “nul”
    input_player2_turbo = “nul”
    input_player2_turbo_btn = “nul”
    input_player2_turbo_axis = “nul”
    input_player3_b = “nul”
    input_player3_b_btn = “nul”
    input_player3_b_axis = “nul”
    input_player3_y = “nul”
    input_player3_y_btn = “nul”
    input_player3_y_axis = “nul”
    input_player3_select = “nul”
    input_player3_select_btn = “nul”
    input_player3_select_axis = “nul”
    input_player3_start = “nul”
    input_player3_start_btn = “nul”
    input_player3_start_axis = “nul”
    input_player3_up = “nul”
    input_player3_up_btn = “nul”
    input_player3_up_axis = “nul”
    input_player3_down = “nul”
    input_player3_down_btn = “nul”
    input_player3_down_axis = “nul”
    input_player3_left = “nul”
    input_player3_left_btn = “nul”
    input_player3_left_axis = “nul”
    input_player3_right = “nul”
    input_player3_right_btn = “nul”
    input_player3_right_axis = “nul”
    input_player3_a = “nul”
    input_player3_a_btn = “nul”
    input_player3_a_axis = “nul”
    input_player3_x = “nul”
    input_player3_x_btn = “nul”
    input_player3_x_axis = “nul”
    input_player3_l = “nul”
    input_player3_l_btn = “nul”
    input_player3_l_axis = “nul”
    input_player3_r = “nul”
    input_player3_r_btn = “nul”
    input_player3_r_axis = “nul”
    input_player3_l2 = “nul”
    input_player3_l2_btn = “nul”
    input_player3_l2_axis = “nul”
    input_player3_r2 = “nul”
    input_player3_r2_btn = “nul”
    input_player3_r2_axis = “nul”
    input_player3_l3 = “nul”
    input_player3_l3_btn = “nul”
    input_player3_l3_axis = “nul”
    input_player3_r3 = “nul”
    input_player3_r3_btn = “nul”
    input_player3_r3_axis = “nul”
    input_player3_l_x_plus = “nul”
    input_player3_l_x_plus_btn = “nul”
    input_player3_l_x_plus_axis = “nul”
    input_player3_l_x_minus = “nul”
    input_player3_l_x_minus_btn = “nul”
    input_player3_l_x_minus_axis = “nul”
    input_player3_l_y_plus = “nul”
    input_player3_l_y_plus_btn = “nul”
    input_player3_l_y_plus_axis = “nul”
    input_player3_l_y_minus = “nul”
    input_player3_l_y_minus_btn = “nul”
    input_player3_l_y_minus_axis = “nul”
    input_player3_r_x_plus = “nul”
    input_player3_r_x_plus_btn = “nul”
    input_player3_r_x_plus_axis = “nul”
    input_player3_r_x_minus = “nul”
    input_player3_r_x_minus_btn = “nul”
    input_player3_r_x_minus_axis = “nul”
    input_player3_r_y_plus = “nul”
    input_player3_r_y_plus_btn = “nul”
    input_player3_r_y_plus_axis = “nul”
    input_player3_r_y_minus = “nul”
    input_player3_r_y_minus_btn = “nul”
    input_player3_r_y_minus_axis = “nul”
    input_player3_turbo = “nul”
    input_player3_turbo_btn = “nul”
    input_player3_turbo_axis = “nul”
    input_player4_b = “nul”
    input_player4_b_btn = “nul”
    input_player4_b_axis = “nul”
    input_player4_y = “nul”
    input_player4_y_btn = “nul”
    input_player4_y_axis = “nul”
    input_player4_select = “nul”
    input_player4_select_btn = “nul”
    input_player4_select_axis = “nul”
    input_player4_start = “nul”
    input_player4_start_btn = “nul”
    input_player4_start_axis = “nul”
    input_player4_up = “nul”
    input_player4_up_btn = “nul”
    input_player4_up_axis = “nul”
    input_player4_down = “nul”
    input_player4_down_btn = “nul”
    input_player4_down_axis = “nul”
    input_player4_left = “nul”
    input_player4_left_btn = “nul”
    input_player4_left_axis = “nul”
    input_player4_right = “nul”
    input_player4_right_btn = “nul”
    input_player4_right_axis = “nul”
    input_player4_a = “nul”
    input_player4_a_btn = “nul”
    input_player4_a_axis = “nul”
    input_player4_x = “nul”
    input_player4_x_btn = “nul”
    input_player4_x_axis = “nul”
    input_player4_l = “nul”
    input_player4_l_btn = “nul”
    input_player4_l_axis = “nul”
    input_player4_r = “nul”
    input_player4_r_btn = “nul”
    input_player4_r_axis = “nul”
    input_player4_l2 = “nul”
    input_player4_l2_btn = “nul”
    input_player4_l2_axis = “nul”
    input_player4_r2 = “nul”
    input_player4_r2_btn = “nul”
    input_player4_r2_axis = “nul”
    input_player4_l3 = “nul”
    input_player4_l3_btn = “nul”
    input_player4_l3_axis = “nul”
    input_player4_r3 = “nul”
    input_player4_r3_btn = “nul”
    input_player4_r3_axis = “nul”
    input_player4_l_x_plus = “nul”
    input_player4_l_x_plus_btn = “nul”
    input_player4_l_x_plus_axis = “nul”
    input_player4_l_x_minus = “nul”
    input_player4_l_x_minus_btn = “nul”
    input_player4_l_x_minus_axis = “nul”
    input_player4_l_y_plus = “nul”
    input_player4_l_y_plus_btn = “nul”
    input_player4_l_y_plus_axis = “nul”
    input_player4_l_y_minus = “nul”
    input_player4_l_y_minus_btn = “nul”
    input_player4_l_y_minus_axis = “nul”
    input_player4_r_x_plus = “nul”
    input_player4_r_x_plus_btn = “nul”
    input_player4_r_x_plus_axis = “nul”
    input_player4_r_x_minus = “nul”
    input_player4_r_x_minus_btn = “nul”
    input_player4_r_x_minus_axis = “nul”
    input_player4_r_y_plus = “nul”
    input_player4_r_y_plus_btn = “nul”
    input_player4_r_y_plus_axis = “nul”
    input_player4_r_y_minus = “nul”
    input_player4_r_y_minus_btn = “nul”
    input_player4_r_y_minus_axis = “nul”
    input_player4_turbo = “nul”
    input_player4_turbo_btn = “nul”
    input_player4_turbo_axis = “nul”
    input_player5_b = “nul”
    input_player5_b_btn = “nul”
    input_player5_b_axis = “nul”
    input_player5_y = “nul”
    input_player5_y_btn = “nul”
    input_player5_y_axis = “nul”
    input_player5_select = “nul”
    input_player5_select_btn = “nul”
    input_player5_select_axis = “nul”
    input_player5_start = “nul”
    input_player5_start_btn = “nul”
    input_player5_start_axis = “nul”
    input_player5_up = “nul”
    input_player5_up_btn = “nul”
    input_player5_up_axis = “nul”
    input_player5_down = “nul”
    input_player5_down_btn = “nul”
    input_player5_down_axis = “nul”
    input_player5_left = “nul”
    input_player5_left_btn = “nul”
    input_player5_left_axis = “nul”
    input_player5_right = “nul”
    input_player5_right_btn = “nul”
    input_player5_right_axis = “nul”
    input_player5_a = “nul”
    input_player5_a_btn = “nul”
    input_player5_a_axis = “nul”
    input_player5_x = “nul”
    input_player5_x_btn = “nul”
    input_player5_x_axis = “nul”
    input_player5_l = “nul”
    input_player5_l_btn = “nul”
    input_player5_l_axis = “nul”
    input_player5_r = “nul”
    input_player5_r_btn = “nul”
    input_player5_r_axis = “nul”
    input_player5_l2 = “nul”
    input_player5_l2_btn = “nul”
    input_player5_l2_axis = “nul”
    input_player5_r2 = “nul”
    input_player5_r2_btn = “nul”
    input_player5_r2_axis = “nul”
    input_player5_l3 = “nul”
    input_player5_l3_btn = “nul”
    input_player5_l3_axis = “nul”
    input_player5_r3 = “nul”
    input_player5_r3_btn = “nul”
    input_player5_r3_axis = “nul”
    input_player5_l_x_plus = “nul”
    input_player5_l_x_plus_btn = “nul”
    input_player5_l_x_plus_axis = “nul”
    input_player5_l_x_minus = “nul”
    input_player5_l_x_minus_btn = “nul”
    input_player5_l_x_minus_axis = “nul”
    input_player5_l_y_plus = “nul”
    input_player5_l_y_plus_btn = “nul”
    input_player5_l_y_plus_axis = “nul”
    input_player5_l_y_minus = “nul”
    input_player5_l_y_minus_btn = “nul”
    input_player5_l_y_minus_axis = “nul”
    input_player5_r_x_plus = “nul”
    input_player5_r_x_plus_btn = “nul”
    input_player5_r_x_plus_axis = “nul”
    input_player5_r_x_minus = “nul”
    input_player5_r_x_minus_btn = “nul”
    input_player5_r_x_minus_axis = “nul”
    input_player5_r_y_plus = “nul”
    input_player5_r_y_plus_btn = “nul”
    input_player5_r_y_plus_axis = “nul”
    input_player5_r_y_minus = “nul”
    input_player5_r_y_minus_btn = “nul”
    input_player5_r_y_minus_axis = “nul”
    input_player5_turbo = “nul”
    input_player5_turbo_btn = “nul”
    input_player5_turbo_axis = “nul”
    input_player6_b = “nul”
    input_player6_b_btn = “nul”
    input_player6_b_axis = “nul”
    input_player6_y = “nul”
    input_player6_y_btn = “nul”
    input_player6_y_axis = “nul”
    input_player6_select = “nul”
    input_player6_select_btn = “nul”
    input_player6_select_axis = “nul”
    input_player6_start = “nul”
    input_player6_start_btn = “nul”
    input_player6_start_axis = “nul”
    input_player6_up = “nul”
    input_player6_up_btn = “nul”
    input_player6_up_axis = “nul”
    input_player6_down = “nul”
    input_player6_down_btn = “nul”
    input_player6_down_axis = “nul”
    input_player6_left = “nul”
    input_player6_left_btn = “nul”
    input_player6_left_axis = “nul”
    input_player6_right = “nul”
    input_player6_right_btn = “nul”
    input_player6_right_axis = “nul”
    input_player6_a = “nul”
    input_player6_a_btn = “nul”
    input_player6_a_axis = “nul”
    input_player6_x = “nul”
    input_player6_x_btn = “nul”
    input_player6_x_axis = “nul”
    input_player6_l = “nul”
    input_player6_l_btn = “nul”
    input_player6_l_axis = “nul”
    input_player6_r = “nul”
    input_player6_r_btn = “nul”
    input_player6_r_axis = “nul”
    input_player6_l2 = “nul”
    input_player6_l2_btn = “nul”
    input_player6_l2_axis = “nul”
    input_player6_r2 = “nul”
    input_player6_r2_btn = “nul”
    input_player6_r2_axis = “nul”
    input_player6_l3 = “nul”
    input_player6_l3_btn = “nul”
    input_player6_l3_axis = “nul”
    input_player6_r3 = “nul”
    input_player6_r3_btn = “nul”
    input_player6_r3_axis = “nul”
    input_player6_l_x_plus = “nul”
    input_player6_l_x_plus_btn = “nul”
    input_player6_l_x_plus_axis = “nul”
    input_player6_l_x_minus = “nul”
    input_player6_l_x_minus_btn = “nul”
    input_player6_l_x_minus_axis = “nul”
    input_player6_l_y_plus = “nul”
    input_player6_l_y_plus_btn = “nul”
    input_player6_l_y_plus_axis = “nul”
    input_player6_l_y_minus = “nul”
    input_player6_l_y_minus_btn = “nul”
    input_player6_l_y_minus_axis = “nul”
    input_player6_r_x_plus = “nul”
    input_player6_r_x_plus_btn = “nul”
    input_player6_r_x_plus_axis = “nul”
    input_player6_r_x_minus = “nul”
    input_player6_r_x_minus_btn = “nul”
    input_player6_r_x_minus_axis = “nul”
    input_player6_r_y_plus = “nul”
    input_player6_r_y_plus_btn = “nul”
    input_player6_r_y_plus_axis = “nul”
    input_player6_r_y_minus = “nul”
    input_player6_r_y_minus_btn = “nul”
    input_player6_r_y_minus_axis = “nul”
    input_player6_turbo = “nul”
    input_player6_turbo_btn = “nul”
    input_player6_turbo_axis = “nul”
    input_player7_b = “nul”
    input_player7_b_btn = “nul”
    input_player7_b_axis = “nul”
    input_player7_y = “nul”
    input_player7_y_btn = “nul”
    input_player7_y_axis = “nul”
    input_player7_select = “nul”
    input_player7_select_btn = “nul”
    input_player7_select_axis = “nul”
    input_player7_start = “nul”
    input_player7_start_btn = “nul”
    input_player7_start_axis = “nul”
    input_player7_up = “nul”
    input_player7_up_btn = “nul”
    input_player7_up_axis = “nul”
    input_player7_down = “nul”
    input_player7_down_btn = “nul”
    input_player7_down_axis = “nul”
    input_player7_left = “nul”
    input_player7_left_btn = “nul”
    input_player7_left_axis = “nul”
    input_player7_right = “nul”
    input_player7_right_btn = “nul”
    input_player7_right_axis = “nul”
    input_player7_a = “nul”
    input_player7_a_btn = “nul”
    input_player7_a_axis = “nul”
    input_player7_x = “nul”
    input_player7_x_btn = “nul”
    input_player7_x_axis = “nul”
    input_player7_l = “nul”
    input_player7_l_btn = “nul”
    input_player7_l_axis = “nul”
    input_player7_r = “nul”
    input_player7_r_btn = “nul”
    input_player7_r_axis = “nul”
    input_player7_l2 = “nul”
    input_player7_l2_btn = “nul”
    input_player7_l2_axis = “nul”
    input_player7_r2 = “nul”
    input_player7_r2_btn = “nul”
    input_player7_r2_axis = “nul”
    input_player7_l3 = “nul”
    input_player7_l3_btn = “nul”
    input_player7_l3_axis = “nul”
    input_player7_r3 = “nul”
    input_player7_r3_btn = “nul”
    input_player7_r3_axis = “nul”
    input_player7_l_x_plus = “nul”
    input_player7_l_x_plus_btn = “nul”
    input_player7_l_x_plus_axis = “nul”
    input_player7_l_x_minus = “nul”
    input_player7_l_x_minus_btn = “nul”
    input_player7_l_x_minus_axis = “nul”
    input_player7_l_y_plus = “nul”
    input_player7_l_y_plus_btn = “nul”
    input_player7_l_y_plus_axis = “nul”
    input_player7_l_y_minus = “nul”
    input_player7_l_y_minus_btn = “nul”
    input_player7_l_y_minus_axis = “nul”
    input_player7_r_x_plus = “nul”
    input_player7_r_x_plus_btn = “nul”
    input_player7_r_x_plus_axis = “nul”
    input_player7_r_x_minus = “nul”
    input_player7_r_x_minus_btn = “nul”
    input_player7_r_x_minus_axis = “nul”
    input_player7_r_y_plus = “nul”
    input_player7_r_y_plus_btn = “nul”
    input_player7_r_y_plus_axis = “nul”
    input_player7_r_y_minus = “nul”
    input_player7_r_y_minus_btn = “nul”
    input_player7_r_y_minus_axis = “nul”
    input_player7_turbo = “nul”
    input_player7_turbo_btn = “nul”
    input_player7_turbo_axis = “nul”
    input_player8_b = “nul”
    input_player8_b_btn = “nul”
    input_player8_b_axis = “nul”
    input_player8_y = “nul”
    input_player8_y_btn = “nul”
    input_player8_y_axis = “nul”
    input_player8_select = “nul”
    input_player8_select_btn = “nul”
    input_player8_select_axis = “nul”
    input_player8_start = “nul”
    input_player8_start_btn = “nul”
    input_player8_start_axis = “nul”
    input_player8_up = “nul”
    input_player8_up_btn = “nul”
    input_player8_up_axis = “nul”
    input_player8_down = “nul”
    input_player8_down_btn = “nul”
    input_player8_down_axis = “nul”
    input_player8_left = “nul”
    input_player8_left_btn = “nul”
    input_player8_left_axis = “nul”
    input_player8_right = “nul”
    input_player8_right_btn = “nul”
    input_player8_right_axis = “nul”
    input_player8_a = “nul”
    input_player8_a_btn = “nul”
    input_player8_a_axis = “nul”
    input_player8_x = “nul”
    input_player8_x_btn = “nul”
    input_player8_x_axis = “nul”
    input_player8_l = “nul”
    input_player8_l_btn = “nul”
    input_player8_l_axis = “nul”
    input_player8_r = “nul”
    input_player8_r_btn = “nul”
    input_player8_r_axis = “nul”
    input_player8_l2 = “nul”
    input_player8_l2_btn = “nul”
    input_player8_l2_axis = “nul”
    input_player8_r2 = “nul”
    input_player8_r2_btn = “nul”
    input_player8_r2_axis = “nul”
    input_player8_l3 = “nul”
    input_player8_l3_btn = “nul”
    input_player8_l3_axis = “nul”
    input_player8_r3 = “nul”
    input_player8_r3_btn = “nul”
    input_player8_r3_axis = “nul”
    input_player8_l_x_plus = “nul”
    input_player8_l_x_plus_btn = “nul”
    input_player8_l_x_plus_axis = “nul”
    input_player8_l_x_minus = “nul”
    input_player8_l_x_minus_btn = “nul”
    input_player8_l_x_minus_axis = “nul”
    input_player8_l_y_plus = “nul”
    input_player8_l_y_plus_btn = “nul”
    input_player8_l_y_plus_axis = “nul”
    input_player8_l_y_minus = “nul”
    input_player8_l_y_minus_btn = “nul”
    input_player8_l_y_minus_axis = “nul”
    input_player8_r_x_plus = “nul”
    input_player8_r_x_plus_btn = “nul”
    input_player8_r_x_plus_axis = “nul”
    input_player8_r_x_minus = “nul”
    input_player8_r_x_minus_btn = “nul”
    input_player8_r_x_minus_axis = “nul”
    input_player8_r_y_plus = “nul”
    input_player8_r_y_plus_btn = “nul”
    input_player8_r_y_plus_axis = “nul”
    input_player8_r_y_minus = “nul”
    input_player8_r_y_minus_btn = “nul”
    input_player8_r_y_minus_axis = “nul”
    input_player8_turbo = “nul”
    input_player8_turbo_btn = “nul”
    input_player8_turbo_axis = “nul”
    core_specific_config = “false”
    libretro_log_level = “0”
    log_verbosity = “false”
    perfcnt_enable = “false”
    libretro_directory = “”
    libretro_info_path = “”
    cheat_database_path = “”
    audio_device = “”
    audio_dsp_plugin = “”
    extraction_directory = “”
    video_filter = “”
    game_history_path = “”
    joypad_autoconfig_dir = “”
    input_overlay = “”
    netplay_nickname = “”
    netplay_ip_address = “”
    input_joypad_driver = “”
    input_keyboard_layout = “”

    system_directory = /home/pi/RetroPie/BIOS

    Antonio
    Guest

    Hi folks,

    I just managed to set up my 360-Joypad with the setup-menu.

    The settings:
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9

    only worked when NO KEYBOARD was connected. I tried it in all variants, with quotes and without, but after restarting with just the controller connected it worked.

    #19120
    murderousmincepie
    Participant

    I now have the text shown below in both config files just to make sure (XboxGamepad(userspacedriver).cfg & retroarch.cfg) however the result is as usual nothing, only the escape button allows me to exit the emulator. I swear there must be something blindingly obvious I’m missing.

    Text in the bottom of the config files:
    input_enable_hotkey_btn = “8″
    input_exit_emulator_btn = “1″
    input_save_state_btn = “2″
    input_load_state_btn = “3″

    trimmtrabb
    Participant

    To access the GUI you need to add this to retroarch.cfg:

    input_menu_toggle = *

    Where * is the button you wish to use. Then it is accessed by holding down the hotkey like the other buttons etc

    monkeyangst
    Participant

    [quote=18791]Hmm, so all p1 controls work in the Playstation emulator? Double check all p2 buttons are functioning:

    jstest /dev/input/js1

    I haven’t played any 2 player Playstation games but check there isn’t an option to enable 2 player in the Retroarch GUI, add this to retroarch.cfg:

    input_menu_toggle =

    (enabled via hotkey)
    [/quote]

    Thanks! I have checked it out in jstest, and it comes up fine. I’m interested in the second thing you said, though, can you expand on it a bit?

    trimmtrabb
    Participant

    Hmm, so all p1 controls work in the Playstation emulator? Double check all p2 buttons are functioning:

    jstest /dev/input/js1

    I haven’t played any 2 player Playstation games but check there isn’t an option to enable 2 player in the Retroarch GUI, add this to retroarch.cfg:

    input_menu_toggle =

    (enabled via hotkey)

    #18762
    murderousmincepie
    Participant

    Now that I’ve got everything back to where it was on my Pi and I’m more fammiliar with the new filesystem organiztation lets swiftly head back to the original topic of how to set an exit button on my wireless xbox 360 controller.

    I’ve looked in the file named ‘XboxGamepad(userspacedriver).cfg’ located in ‘/opt/retropie/emulators/RetroArch/configs’ and I found this at the bottom of the config file (it has been altered by me):

    input_enable_hotkey_btn = “8”
    input_exit_emulator_btn = “1”
    input_save_state_btn = “2”
    input_load_state_btn = “3”

    The current setting should make it so that when I press the back button followed by the B button it should exit however this hasn’t worked otherwise I would’t be here to bother you :). Am I looking in the right file or should I still be using the old ‘retroarch.cfg’ method?

    monkeyangst
    Participant

    Sure. The following is the contents of /opt/retropie/configs/all/retroarch.cfg:

    system_directory = /home/pi/RetroPie/BIOS
    config_save_on_exit = false
    video_aspect_ratio = 1.33
    video_smooth = false
    video_threaded = true
    input_enable_hotkey = escape
    input_exit_emulator = escape
    rewind_enable = false
    rewind_buffer_size = 10
    rewind_granularity = 2
    input_rewind = r
    video_gpu_screenshot = true
    input_shader_next = m
    input_shader_prev = n
    video_shader_dir = /opt/retropie/emulators/RetroArch/shader/
    
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    input_player1_joypad_index = "0"
    input_player1_b_btn = "2"
    input_player1_y_btn = "3"
    input_player1_select_btn = "8"
    input_player1_start_btn = "9"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "1"
    input_player1_x_btn = "0"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    
    input_player2_joypad_index = "1"
    input_player2_b_btn = "1"
    input_player2_y_btn = "4"
    input_player2_select_btn = "5"
    input_player2_start_btn = "2"
    input_player2_up_axis = "-1"
    input_player2_down_axis = "+1"
    input_player2_left_axis = "-0"
    input_player2_right_axis = "+0"
    input_player2_a_btn = "0"
    input_player2_x_btn = "3"
    input_player2_l_btn = "6"
    input_player2_r_btn = "7"
    
    huettmaster
    Participant

    i have the same problem…when i change the Xin-MoXin-MoDualArcade.cfg (input_enable_hotkey_btn = “16” input_exit_emulator_btn = “10”) he leave the emulators with that buttons.But how i have to change the cfg to play with two players?

    this is my Xin-MoXin-MoDualArcade.cfg:

    input_device = “Xin-Mo Xin-Mo Dual Arcade”
    input_driver = “udev”
    input_b_btn = “10”
    input_y_btn = “12”
    input_select_btn = “6”
    input_start_btn = “16”
    input_up_axis = “-3”
    input_down_axis = “+3”
    input_left_axis = “-2”
    input_right_axis = “+2”
    input_a_btn = “11”
    input_x_btn = “13”
    input_l_btn = “14”
    input_r_btn = “15”

    input_enable_hotkey_btn = “16”
    input_exit_emulator_btn = “10”

    Tom Rolfe
    Guest

    Hey everybody!

    I’m new around here. Just recently decided to set up some emulation stuff with custom controls with a view to building an arcade machine.

    I built a two player controller using parts from Ultracabs. The buttons for both players go to a single USB interface which plugs straight into the Pi. It shows up as ‘Xin-Mo Dual Arcade’.

    The whole thing works great so far. I’ve managed to set up the one-player experience by mapping the emulation keys using the ‘register retroarch controller’ option found within retropie_setup.sh – but I can’t for the life of me figure out how to also assign the controller to work as a player two input.

    I’ve noticed on a few (outdated?) tutorials that you can manually edit a .cfg file to tweak or add controls. Problem is I can’t find such a file. I’ve looked for one called retroarch.cfg (mentioned on various sites) and also Xin-MoXin-MoDualArcade.cfg (mentioned by RetroPie after configuring controller).

    Can someone help me? I just need to find the config file where my controller is set up. This would also help with my second problem which is how to set up this sort of thing:

    input_enable_hotkey_btn = “18”
    input_exit_emulator_btn = “19”

    One other thing of note: a lot of tutorials mention looking inside a RetroPie/emulators folder. This doesn’t exist (or is hidden?). All I see inside RetroPie are folders called BIOS and roms. Has the folder structure changed in a recent update?

    Am I doing something wrong or missing something very simple? Please help!

    Much thanks

    Tom

    deaftolight
    Participant

    Yeah, I had tried looking into that hoping to find something, but no. I also tried to look into mame configuration files, as in the piSNES readme it says

    snes9x.cfg -> MAME configuration file, limited support to only the options in the supplied file (not the full MAME settings).

    I’ve even looked through various includes and SDL stuff, but to no avail. The only reason I’ve been wasting all this time is because I really want to bind a hotkey combination for fast forward. I was unable to get this working in Retroarch… there’s another thread on this (https://www.petrockblock.com/forums/topic/retroarch-cfg-fast-forward-help/), but no one here was able to answer. Hopefully somebody will figure out something.

    #16591

    In reply to: Retroarch

    flipbug
    Participant

    Set up controller schemes:
    sudo chown pi /opt/retropie/configs/all/retroarch.cfg
    cd /opt/retropie/emulators/RetroArch/installdir/bin
    sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg

    Add to controller scheme:
    input_enable_hotkey_btn = “6”
    input_exit_emulator_btn = “7”
    input_enable_hotkey_btn = “6”
    input_save_state_btn = “4”
    input_enable_hotkey_btn = “6”
    input_load_state_btn = “5”

    Obviously your buttons will be different. For my config, these buttons allow me to quit out with START + Select, and save state with START + R1, load state with START + L1

    deaftolight
    Participant

    You can get the button mappings by running jstest. /dev/input/jstest js0 (if the 360 controller is the only one plugged in), then figure out your key mappings. I saw on zsprawl’s blog he used these for his 360 controller:

    A_1=0
    B_1=1
    X_1=2
    Y_1=3
    L_1=4
    R_1=5
    START_1=7
    SELECT_1=6
    QUIT=99
    ACCEL=11
    QLOAD=10
    QSAVE=8
    #Joystick axis
    JA_LR=0
    JA_UD=1
    

    I’m still really hoping someone can explain the 99 and other hotkey mappings, though. I even e-mailed the developer in the hopes that he could explain it.

    #16395
    trimmtrabb
    Participant

    :-) Just to add, if you want to further modify retroarch.cfg:

    nano /opt/retropie/configs/all/retroarch.cfg

    You can determine the buttons on your pad with:

    jstest /dev/input/js* (replace * with device number as above)

    If you assign a hotkey you can map other functions to buttons already assigned: (replace * with the buttons from jtest etc)

    input_enable_hotkey_btn = “*”
    input_exit_emulator_btn = “*”
    input_save_state_btn = “*”
    input_load_state_btn = “*”
    input_state_slot_increase_btn = “*”
    input_state_slot_decrease_btn =”*”
    input_menu_toggle_btn = “*”

    More info here: https://github.com/libretro/RetroArch/blob/master/retroarch.cfg

    #16375
    morias
    Participant

    It works on mine but I also put a hash before the hotkey setting which was set to ESC.

    deaftolight
    Participant

    Thanks. Where did you find that information? I can’t find anything that explains how mapping to 99 enables those hotkey combinations. If there are more codes like 99 that refer to different button combinations, I’d really like to know so I can take advantage and best customize a particular controller setup.

    Also, I don’t understand how 99 would map to all three of those combinations. In fact, QLOAD and QSAVE weren’t 99. By default, ACCEL was set to 7, the QLOAD was set to 10, and the QSAVE was set to 11. I left those, and I was still able to load with select + L and save with select + R. I couldn’t figure out what the CFG thinks 7 is to accelerate. This was with an SNES USB controller. I’m just trying to make sense of this all.

    #16055
    hubbie36
    Participant

    Is this what I am suppose to be doing?

    system_directory = /home/pi/RetroPie/roms/../BIOS
    config_save_on_exit = false
    video_aspect_ratio = 1.33
    video_smooth = false
    video_threaded = true
    input_enable_hotkey = escape
    input_exit_emulator = escape
    rewind_enable = false
    rewind_buffer_size = 10
    rewind_granularity = 2
    input_rewind = r
    video_gpu_screenshot = true
    input_shader_next = m
    input_shader_prev = n
    video_shader_dir = /opt/retropie/emulators/RetroArch/shader/
    input_player1_a = x
    input_player1_b = z
    input_player1_y = a
    input_player1_x = s
    input_player1_start = enter
    input_player1_select = rshift
    input_player1_l = q
    input_player1_r = w
    input_player1_left = left
    input_player1_right = right
    input_player1_up = up
    input_player1_down = down
    input_autodetect_enable = true
    joypad_autoconfig_dir = /opt/retropie/emulators/RetroArch/configs/
    input_enable_hotkey_btn = 6
    input_exit_emulator_btn = 7

    #16047
    copperfield81
    Guest

    Alright that worked good!
    So to summarize if you want to add gamepad exit, follow these steps:

    1) Have pi plugged in and running.

    2) Connect to it over your network, I used filezilla with the SFTP (ssh protocol). To obtain your pi ip address, just exit out of Emulation Station and it will tell you at the prompt what it’s IP address is.

    3) Login as user ‘pi’ (def password is raspberry). {Note that in order to overwrite the CFG file I actually had to login as ROOT, so if you get unable to write errors on the CFG file, just login as ROOT}

    4) Browse to folder ‘/opt/retropie/configs/all’

    5) Copy the ‘retroarch.cfg’ file to your computer, so you can edit it

    6) Add the following two lines, substituting the appropriate button numbers for your gamepad (on my logitech USB gamepad, it’s 6 & 7)

    input_enable_hotkey_btn = 6
    input_exit_emulator_btn = 7

    Note that when you wish to exit the emulator, you would hold the ‘hotkey’ button and press the ‘exit_emulator’ button, for example, hold select and press start.

    7) Use filezilla and upload that file back to ‘/opt/retropie/configs/all’ (again if it doesn’t let you overwrite, login as root)

    8) Reboot the PI and enjoy the easy exit button!

    #16041
    copperfield81
    Guest

    I believe you need to add the following lines:
    input_enable_hotkey_btn = 1
    input_exit_emulator_btn = 2

    If you wanted to use ‘select-start’ to exit then: 1 would be the button number for your ‘select’ button and 2 would be the ‘start’ button.

    #15974
    deaftolight
    Participant

    [quote=15647]

    Yes I am pressing the key during the game. To be honest I’ve tried it all ways but it does not respond either way. I’m also noticing other keys don’t work, such as shader selection using the n and m keys, but other inputs do such as my button 8 and 9 hotkey exit as detailed here elsewhere.

    [/quote]

    I think you have to press your enabled hotkey and F1 on the keyboard. So if your hotkey is select on your controller, you have to hold that and then hit F1 on your keyboard.

    However, I’ve noticed that the menu doesn’t toggle (you can’t exit with F1, only enter). I have to choose Resume Content from the RGUI to get back into the game. Not really a big deal. It’s just odd, because a couple of days ago I was able to enter and exit the RGUI menu with the assigned hotkey. Anyone else notice this?

    vivid
    Participant

    When I got my 360 controller working I found out xboxdrv was actually interfering with the configs in the games so I decided to uninstall it.

    I just used the retroarch joystick setup in RetroPie-Setup/RetroPie_Setup.sh then chose option 3 in the first menu and then I believe the option to set the joystick is 8 (I don’t have my Pi on so I don’t know exactly what the option is called) and then I went into the retroarch.cfg file and I was able to set save state,load state, emulator menu, and emulator reset buttons.

    The retroarch.cfg file is located in the directory: /opt/retropie/configs/all/

    The commands to set the enable hotkey and exit emulator hotkey in the retroarch.cfg are: (you need the enable hotkey because that’s what you press along with the other buttons that do other actions like load state or save state)
    input_enable_hotkey_btn = “8″
    input_exit_emulator_btn = “9″

    The commands to set the save state and load state in the retroarch.cfg are:
    input_save_state_btn = “4″
    input_load_state_btn = “5″

    The numbers are what buttons are pressed on the controller when you set it up in the retroarch joystick setup.

    Hopefully this helps a little, let me know if I need to be more clear.

    #15803
    borlandoflorida
    Participant

    Hi and thanks for your response. :)

    Yes I am pressing the key during the game. To be honest I’ve tried it all ways but it does not respond either way. I’m also noticing other keys don’t work, such as shader selection using the n and m keys, but other inputs do such as my button 8 and 9 hotkey exit as detailed here elsewhere.

    I don’t really know what’s happening but could it be something to do with the new read-only permissions on the file in 2.2? Can the Retropie system not access it properly perhaps? Just a stab in the dark.

    I had the same issue and what I did to resolve this was to change the hockey button to F2. Then I held F2 down before pressing F1 then voila! I was then able to map the buttons to my controller from the settings and then changed them to what I wanted.

    Hope this helps.

    #15687
    zsprawl
    Participant

    [quote=15647]Hi and thanks for your response. :)

    Yes I am pressing the key during the game. To be honest I’ve tried it all ways but it does not respond either way. I’m also noticing other keys don’t work, such as shader selection using the n and m keys, but other inputs do such as my button 8 and 9 hotkey exit as detailed here elsewhere.

    I don’t really know what’s happening but could it be something to do with the new read-only permissions on the file in 2.2? Can the Retropie system not access it properly perhaps? Just a stab in the dark.
    [/quote]

    hmmm not sure. You can always do:

    chown -R pi /opt/retropie/configs

    Make sure you have the right localization for your keyboard though in raspi-config.

    #15662
    deaftolight
    Participant

    Has anyone else figured how to get hold fast forward working? I’m trying to set it up with the hotkey, so I can hold select and R2 to fast forward, i.e.:

    input_enable_hotkey_btn = "0"
    input_exit_emulator_btn = "15"
    input_save_state_btn = "4"
    input_load_state_btn = "5"
    input_hold_fast_forward = "9"

    I can’t seem to get it to work.

    Also wondering if you can have different hotkeys for different controllers. I have a SNES controller as player 2, and would like to enable “8” as it’s hotkey.

    #15647
    K-Project
    Guest

    Hi and thanks for your response. :)

    Yes I am pressing the key during the game. To be honest I’ve tried it all ways but it does not respond either way. I’m also noticing other keys don’t work, such as shader selection using the n and m keys, but other inputs do such as my button 8 and 9 hotkey exit as detailed here elsewhere.

    I don’t really know what’s happening but could it be something to do with the new read-only permissions on the file in 2.2? Can the Retropie system not access it properly perhaps? Just a stab in the dark.

    #15398
    deaftolight
    Participant

    I’m getting confused on the the proper way to configure controllers. Are we still supposed to use the joyconfig pipe to configure our controllers? I don’t know because but I stumbled across a configuration option somewhere that I can’t even remember… it had me enter the buttons, and would actually allow you to time out for L2, L3, etc. if you were using an SNES controller. This configuration option was the one that would create the files like /opt/retropie/emulators/RetroArch/configs/2Axes11KeysGamepad.cfg

    It didn’t add anything into the /opt/retropie/configs/all/retroarch.cfg, though, but doing that for an SNES USB controller and a PS3 BT controller worked. So the only stuff in the retroarch.cfg is the initial keyboard inputs set up in emulationstation, and the exit and save/load state hotkeys I added here.

    So I’m unsure as to what the correct way to configure the controllers in 2.2 is… using the joyconfig pipe, or the other way that created those autoconfig files. I can’t even remember what tool I used… it may have been registering the controller in retropie_setup.sh that launched it. I can’t remember as I was just spending a lot of time that day trying to get the controllers to work.

    So I needed to swap them so player 2 was player 1 and vice versa. Adding this to retroarch.cfg fixed that:

    input_player1_joypad_index = "1"
    input_player2_joypad_index = "0"

    I don’t know if that is the way swapping controller numbers is supposed to be done.

    I’m also trying to add a hotkey for hold to speed and menu toggle, so I added these

    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    input_save_state_btn = "4"
    input_load_state_btn = "5"
    input_hold_fastforward = "3"
    input_menu_toggle = "0"

    at the end of retroarch.cfg. The exit, save, and load ones worked, but the fast forward and menustoggle did not.

    Also, since I have 2 different controllers, I started to think that these hotkeys might conflict, since button 8 on the SNES pad is Select, and 8 on the PS3 controller is L2. Sorry for the wordy post, but with all the recent updates to 2.2, I picked the worst time to try and figure all this out. :) A lot of old methods has become misinformation and not a lot of the new updates have been covered.

    #15286
    kinget
    Participant

    Yep, I have a “quit emulator” hotkey, which is set to select+start.
    While running the SNES emulator, it doesn’t crash?
    Just all other emulators (which use less buttons)

    Posting the retroarch.cfg file, however, my path isnt “opt”.
    Mine is from: home/pi/RetroPie/configs/all

    input_player1_joypad_index = “0”
    input_player1_b_btn = “0”
    input_player1_y_btn = “1”
    input_player1_select_btn = “2”
    input_player1_start_btn = “3”
    input_player1_up_axis = “-1”
    input_player1_down_axis = “+1”
    input_player1_left_axis = “-0”
    input_player1_right_axis = “+0”
    input_player1_a_btn = “4”
    input_player1_x_btn = “5”
    input_player1_l_btn = “6”
    input_player1_r_btn = “7”
    input_player2_joypad_index = “1”
    input_player2_b_btn = “0”
    input_player2_y_btn = “1”
    input_player2_select_btn = “2”
    input_player2_start_btn = “3”
    input_player2_up_axis = “-1”
    input_player2_down_axis = “+1”
    input_player2_left_axis = “-0”
    input_player2_right_axis = “+0”
    input_player2_a_btn = “4”
    input_player2_x_btn = “5”
    input_player2_l_btn = “6”
    input_player2_r_btn = “7”
    input_enable_hotkey_btn = “2”
    input_exit_emulator_btn = “3”
    input_save_state_btn = “6”

    #15282
    smatticus
    Participant

    You probably have a “quit emulator” hotkey set. This is usually done when pressing multiple buttons (for example I have mine set to be select+start) these settings are set by retroarch automatically in most cases. could you post your retroarch.cfg file from /opt/retropie/configs/all?

Viewing 35 results - 911 through 945 (of 1,077 total)