RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. hotkeys
    Log in to post
    • All categories
    • S

      Mapping buttons to hotkeys; restart game and exit retroarch

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support controlblock hotkeys retroarch
      3
      0 Votes
      3 Posts
      3k Views
      S

      Ok, so just to make sure I wasn't missing anything, I did the following...

      Re-download and install RetroPie. Connect to WiFi and install updates. Download and install ControlBlock driver from RetroPie setup. Configured new controllers on startup.

      After doing some more testing, I discovered that my conltrol settings responded the same for NES, SNES, and all lr-* arcade emulators. Anything using mame4all seems to be governed by different setting. So for the moment, I'll stick with libretro emulators.

      Now, when I go in to RetroArch from the RetroPie setup menu and make changes to the button configurations, a few things happen. Setting buttons for Restart and Quit RetroArch requires that I set a button for Toggle Hotkeys. I'd prefer not to have to do that. Making those button changes also causes Select+Start in NES and SNES to stop quiting RetroArch.

      I feel like I'm getting closer, but the hotkeys are still throwing me off.
      Any thoughts? Thanks.

    • S

      Run custom action on custom hotkey?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkey hotkeys action actions custom
      11
      0 Votes
      11 Posts
      4k Views
      V

      @SanyaIV said in Run custom action on custom hotkey?:

      What I want to do: ADD a hotkey that does a CUSTOM action.
      The hotkey: DualShock 4 contoller [Share] + [PS Button]
      The action: Run a script (The script will toggle vcgencmd display_power 0 and vcgencmd display_power 1)

      Hi Sanya,

      Maybe you could achieve what you want by using Triggerhappy with configurations like here?:
      https://github.com/Vegz78/retro2png#configuring-the-gamepad-and-keyboard-hotkeys

      Br,
      Vegard

    • R

      Hotkey Help :(

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys hotkey hotkey exit
      10
      0 Votes
      10 Posts
      3k Views
      mediamogulM

      @rgnmud

      A nice kid-friendly prevention.

    • hexagoneH

      Mapping js1 button to js0 on Xin-Mo

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support xin mo hotkey jstest hotkeys mapping
      12
      0 Votes
      12 Posts
      4k Views
      hexagoneH

      I set it directly in /opt/retropie/configs/all/retroarch-joypads/THTTHTArcadeconsole2PUSBPlayer.cfg

      input_enable_hotkey_btn = "8"

      If I use the Retroarch menu (Settings/Input/Input Hotkey Binds/Enable Hotkeys), I can't set it to 11 because is on js1. I can only set button from js0.

    • S

      Removing hotkeys??

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys
      9
      0 Votes
      9 Posts
      3k Views
      CapemanC

      Ok, last ditch effort. When you launch a game, the box pops up onscreen. That is the launchcommand box. When you press a button you go into the launchcommand dialog where you can set video modes, etc. If you go into there, one of the options is "EDIT CUSTOM RETROARCH CONFIG FOR THIS ROM" - try typing the code manually into that area and saving. That will create the config file in your roms folder that you can edit further if needed.

      If the file is created, and the effect still doesnt work, try putting nul in quotes ("nul") OR put a random number in there that the controller cannot support "99" would pull a button that doesnt exist.

      If that doesn't work, im not sure what to tell ya, i use this method all the time for my arcade roms because they dont have consistent controls. I would use remapping but my arcade is all keyboard controls so retroarch config file edits work fine.

    • B

      Hotkey Problems

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys
      2
      0 Votes
      2 Posts
      1k Views
      B

      @bassman6805
      Look in the /opt/retropie/configs/all/retroarch-joypads/ directory and there should be a .cfg file with your controller settings in it.

      For example I have a wireless Xbox 360 controller so mine is:
      /opt/retropie/configs/all/retroarch-joypads/Xbox360WirelessReceiver\(XBOX\).cfg

      In your version of that file you can put your hotkey settings. It will be in what looks like a random order.

      I believe the ones for your controller will end with _btn
      https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration#hotkeys
      Another example:
      input_enable_hotkey_btn is for controllers and input_enable_hotkey is for the keyboard.

      I have manually re-organized mine so I can read it easier but here is my hotkey section

      # Hotkey button input_enable_hotkey_btn = "8" #Select # Exit emulator input_exit_emulator_btn = "9" #Start # Saves state input_save_state_btn = "1" #B button # Loads state input_load_state_btn = "2" #X button # Move to next save state slot input_state_slot_increase_btn = "5" #R button input_state_slot_increase_axis = "+0" #Right on D pad/Left Stick # Move back a save state slot input_state_slot_decrease_btn = "4" #L button input_state_slot_decrease_axis = "-0" #Left on D pad/Left Stick # Reset ROM input_reset_btn = "0" #A button input_reset_axis = "-1" #Up on D pad/Left Stick # Toggle RetroArch menu input_menu_toggle_btn = "3" #Y button # Volume controls: mute, volume up and down input_audio_mute_axis = "+1" #Down on D pad/Left Stick input_volume_up_axis = "-3" #Up on Right Stick input_volume_down_axis = "+3" #Down on Right Stick # Take screenshot input_screenshot = "7" #Right Trigger button

      Determining Button Values
      https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration#determining-button-values

    • MetalMilitiaM

      Cannot set enable hotkey button with saturn controller

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support saturn hotkeys controller setu
      27
      0 Votes
      27 Posts
      8k Views
      CortexVacuaC

      No problem dude, glad to help.

    • E

      Editing controller

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support controller controller ser generic usb retropie hotkeys
      2
      0 Votes
      2 Posts
      695 Views
      B

      @Electromaster64

      I am trying to get rid of the start+select=exit hotkey

      So do you want to disable the "Hotkey" function all together?

      input_exit_emulator_btn = 8

      And you want it to exit the RetroArch emulator when you press button #8 on your generic USB controllers?

      I think you have to set the hotkey to null so try added this to your retroarch.cfg

      input_enable_hotkey_btn = "nul"

      If that doesn't work also add this:

      input_enable_hotkey = "nul"
    • batesmanB

      Two shader directories in 4.1?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support shaders shader hotkeys directories
      8
      0 Votes
      8 Posts
      3k Views
      batesmanB

      @dankcushions said in Two shader directories in 4.1?:

      @batesman said in Two shader directories in 4.1?:

      @dankcushions So is it possible to be able to cycle through the shaders without setting one as a default?

      i think so. by default you need to hold your hotkey (select on your control pad) and press n or m on a keyboard, i believe.

      You got it. I had to hold select on the control pad, then press m, n to cycle. Based on the way the hotkeys were defined in the retroarch.cfg file I thought I only needed to press m or n.

      Thanks!

    • R

      updated now my hotkeys is gone:(

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys
      1
      0 Votes
      1 Posts
      525 Views
      No one has replied
    • Capt_MorganCreekC

      Mapping hotkeys in standalone mupen64plus

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support mupen64plus emulator quit hotkeys
      3
      0 Votes
      3 Posts
      2k Views
      Capt_MorganCreekC

      I wasn't able to map the hotkeys on the keyboard which is configured as a controller, but since I will use pyAutoGUI and scripting for GPIO inputs, I that's not a big deal.

      The keycodes found in mupen64plus.cfg relate to ascii characters, and so I remapped the functions I plan to access later via GPIO to keys I won't need.

      Here is simple overview I used to figure out key-values: Ascii Table
      You have to look for the decimal values.

    • T

      change start+select to "home button"+ start ?(retroarch hotkeys)

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys start+select controller retroarch.cfg home button
      2
      0 Votes
      2 Posts
      4k Views
      BuZzB

      @tcmt which config ? 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 (You don't provide which version of retropie for example which affects the path im about to give you)

      you should edit /opt/retropie/configs/all/retroarch/autoconfig/YOURJOYPAD.cfg and change the hotkey button in there.

    • R

      Solution for Hotkey Interfering with certain NES ROMs

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys
      1
      0 Votes
      1 Posts
      522 Views
      No one has replied
    • IkyrusI

      Making custom Hotkeys?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkeys psx custom playstation
      2
      0 Votes
      2 Posts
      1k Views
      synackS

      @Ikyrus You could use something like jslisten to monitor for inputs, and invoke a script to switch config files.

      https://github.com/workinghard/jslisten

    • Y

      Holding Select in Game

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support select joystick mapping hotkeys
      2
      0 Votes
      2 Posts
      1k Views
      BuZzB

      @Yamt short answer no - you will have to remap it to another button (for that particular emulator/game).

    • mercifulhackerM

      GPIO Mapping Hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio retrogame hotkeys keyboard
      1
      0 Votes
      1 Posts
      930 Views
      No one has replied
    • M

      PS3 hotkey has never worked... please help

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support controller setu ps3 problems hotkeys controllers
      6
      0 Votes
      6 Posts
      2k Views
      markyh444M

      No probs mate. Glad we got it sorted for you.

    • A

      Psx emulator hotkey problem

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support psx hotkey hotkeys problem emulator
      2
      0 Votes
      2 Posts
      1k Views
      A

      @Afgin

      Never mind.

      Problem has miraculously disappeared. Don't know what I have done differently, but seems to work now :D

    • X

      Volume Buttons without Hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support volume control hotkeys dedicated
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • M

      Three issues - (roms not populating, special hotkeys menu not present, f4 drops to command line)

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support roms restart hotkeys
      2
      0 Votes
      2 Posts
      1k Views
      M

      partially resolved. i had a setting enabled that was preventing new games from coming in via the scrape options.

      I see the problem.

      The problem is you have enabled ParseGamelistOnly - which will mean it doesn't scan for roms and only shows items from scraped gamelists. Hence your roms are not showing up.

      https://github.com/retropie/retropie-setup/wiki/FAQ

      Parse Gamelists Only: If on, it will only read the roms you have scraped, so if you add any new roms it will not look for them unless you turn this back off. it is off by default.
      also - are you aware any es_systems.cfg in /home/pi/.emulationstation will override the retropie-setup generated /etc/emulationstation/es_systems.cfg - you probably dont want that unless you are happy to maintain it manually.

      This content on

      https://retropie.org.uk/forum/topic/2359/emulators-not-displaying/17

      Resolved the roms not appear.

      I'm still dealing with being unable to set hotkeys on the controller.

      Thank you for your help.