Homepage Forums Search Search Results for 'hotkey'

Viewing 35 results - 631 through 665 (of 1,077 total)
  • Author
    Search Results
  • ceuse
    Participant

    emulationstation should (if the drivers are included) work out of the box (use the gui controller config option)

    and for configuring controllers for (most) of the emulators use this guide (from point 8 forward, point 10 describes how to add a hotkey to enable quiting the emulator/saving/loading)

    Updated for 2.3: Step-by-Step Guide

    some systems like gba and n64 (at least i know about those 2) will need a special configuration but most will work just fine with this guide

    ceuse
    Participant

    You can also assign a hotkey on a diffrent controller your not using. (I got 2 snes and 2 n64 controllers hooked up. i have all my Hotkeys on the snes controller while only using the n64 controllers inside mupen64plus)

    The Video herbfargus posted explains it pretty good where to set the Hotkeys.

    #90039

    In reply to: MiniPac and RetroPie

    tdawg1982
    Participant

    [quote=90025]I have my MiniPac working with both mame and nes, now. I went through the retroarch.cfg line by line. I removed a bunch of extra stuff after I read online that joystick/gamepad configuration may take precedence over keyboard and mess stuff up. That shader hotkey is in there, make sure you remove it if you have buttons bound to it.

    Also, you can’t use raw numbers like that. The comments in the cfg file right above output will tell you all the possible options. I think what you want is:

    input_player1_start = num1
    input_player1_select = num5
    input_player2_start = num2
    input_player2_select = num6

    If all else fails and things still aren’t working right, quit out of EmulationStation and run: startx from the command line to get into XWindows. From there, you can run: xev from the terminal and it output the keypresses that your joysticks and buttons output.

    Hope that helps!
    [/quote]

    You know what’s funny is in my config file it is num1 and num5 but when I pasted the code from notpad++ it seemed to change it. Do you mind sharing your config file so I can compare?

    #90025

    In reply to: MiniPac and RetroPie

    bucksgt
    Participant

    I have my MiniPac working with both mame and nes, now. I went through the retroarch.cfg line by line. I removed a bunch of extra stuff after I read online that joystick/gamepad configuration may take precedence over keyboard and mess stuff up. That shader hotkey is in there, make sure you remove it if you have buttons bound to it.

    Also, you can’t use raw numbers like that. The comments in the cfg file right above output will tell you all the possible options. I think what you want is:

    input_player1_start = num1
    input_player1_select = num5
    input_player2_start = num2
    input_player2_select = num6

    If all else fails and things still aren’t working right, quit out of EmulationStation and run: startx from the command line to get into XWindows. From there, you can run: xev from the terminal and it output the keypresses that your joysticks and buttons output.

    Hope that helps!

    ceuse
    Participant

    Hello Everybody.

    I Just Got my new Rpi and went on to start over with a fresh Emulationstation Installation (2.6 iso)

    i had a RPI B running before with Emulationstation 2.3 i think and all worked fine (after quite some sweat and tears i might add).

    The main Problem im experiencing now are :

    I moved my complete snes collection to the new installation and put it in the snes directory . After snespi couldt open several i moved all my roms to the snes9x directory (which i think was used at 2.3) and i could open all my roms once again. but now i experience the issue that the snes emulator wont use the retoarch.cfg. (select should be my hotkey but it just speeds up everything, player 1 and 2 are swapped etc).

    other systems (like nes) work fine but when i exit to emulationstation by the configured hotkeys i get stuck at a back screen. only intresting message i see is : System directory is not set. assuming that its the same as the rom (which is defently wrong).

    anyone can help me out on both of those problems?

    (i will keep using this thread for further problems on my jurney :-))

    Thanks in advance

    #89838
    killer101
    Participant

    Without the changes to the hotkey, the coins in ’88 Games didn’t work in FBA and Mame. So I suggest it is an issue with retroarch and not the FBA core!

    #89776
    justinbeaird
    Participant

    [quote=89770]Has anyone found a way to enable a hotkey for exiting the the emulator?
    [/quote]
    Anyone? The testing one in setup is a lot better on rpi2

    #89771
    ovitz
    Participant

    I can’t use my hotkeys to get back to the menu. It works for any other emu. Any ideas?

    #89770
    Anonymous
    Inactive

    Has anyone found a way to enable a hotkey for exiting the the emulator?

    Floob
    Member

    For those of you who havent noticed, when you register a new controller for RetroArch, the setup script will now automatically map some hotkeys for you.

    This should vastly reduce the number of users who ask how to exit a game using the joypad.

    Which is kind of great, as long as you dont get confused by what the hell was going on like me :)

    So at the moment the following will automatically be added to ALL your autoconfig files:

    input_enable_hotkey input_select
    input_exit_emulator input_start
    input_menu_toggle input_x
    input_load_state input_l
    input_save_state input_r
    input_reset input_b
    input_state_slot_increase input_right
    input_state_slot_decrease input_left

    As you can see, the Select button mapping is chosen to enable hotkeys.
    Also, this wont overwrite any you have already set, just add to it if you havent set them.
    Obviously you could go in and manually change these if you want, but every time you register a new controller it will run again.

    PeanutButterBoy
    Participant

    Is there any way to power off the PS3 controller (connected via Bluetooth) without turning off the RPi? I thought of 2 methods, but I’m not sure how to execute either of them:

    1. Assign a button in RetroArch (or any emulator) that powers off the controller. I don’t know if this input variable exists, but it would be nice to just hit the PS button (or hotkey+PS button) to power the controller off.

    2. Enable some kind of timeout or sleep mode within the bluetooth libraries (or hciconfig?) that disconnects the controller after, say, 5 minutes of inactivity.

    Anyone know how to make this happen? I’m guessing #2 is the most likely.

    #89651
    killer101
    Participant

    Maybe you should try and set the hotkey (select) to another button. You will stumble across another problem when you use select as the hotkey. In some games you can’t insert coins with these setting.

    I change the hotkey to the left trigger and no more problem with inserting coins. Maybe this will fix your exit problem too.

    #89635
    bravetoaster
    Participant

    Ah, yes – that’s it. Thank you!

    I also noticed that in my retroarch.cfg at the very bottom there was the line
    input_enable_hotkey = nul

    I changed that to tab and now I can do tab+F1 etc. and it works like a charm. Cool!

    #89634
    Floob
    Member

    Hold down “select” on the joypad, then try F1, or n, m etc…

    Its because you have set an enable hotkey function.
    input_enable_hotkey_btn = “0”

    Details are here:

    k1ttenface
    Participant

    Hi, sorry for the late reply. I worked out how to disable hotkeys and that fixed it.

    herbfargus
    Member

    It isnt necessarily a hotkey combination as those aren’t currently supported. You basically have to choose a key you don’t use as the key exit. See this video:

    #89454
    Anonymous
    Inactive

    Well I had some time to experiment and now my left analog stick is working.

    It’s thanks to killer101 but I changed something.

    input_player1_up_axis = “-1”
    input_player1_down_axis = “+1”
    input_player1_left_axis = “-0”
    input_player1_right_axis = “+0”
    input_analog_dpad_mode = “1”

    The player1 did it.
    I saw this because the rest of the config was like that.

    This is the input config at the moment (/opt/retropie/configs/allretroarch.cfg)

    input_enable_hotkey_btn = “8”
    input_exit_emulator_btn = “9”
    input_save_state_btn = “5”
    input_load_state_btn = “4”
    input_volume_up_axis = “-1”
    input_volume_down_axis = “+1”
    input_menu_toggle_btn = 3

    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_btn = “h0up”
    input_player1_down_btn = “h0down”
    input_player1_left_btn = “h0left”
    input_player1_right_btn = “h0right”
    input_player1_a_btn = “1”
    input_player1_x_btn = “0”
    input_player1_l_btn = “4”
    input_player1_r_btn = “5”
    input_player1_l2_btn = “6”
    input_player1_r2_btn = “7”
    input_player1_l3_btn = “10”
    input_player1_r3_btn = “11”
    input_player1_l_x_plus_axis = “+0”
    input_player1_l_x_minus_axis = “-0”
    input_player1_l_y_plus_axis = “+1”
    input_player1_l_y_minus_axis = “-1”
    input_player1_r_x_plus_axis = “+2”
    input_player1_r_x_minus_axis = “-2”
    input_player1_r_y_plus_axis = “+3”
    input_player1_r_y_minus_axis = “-3”

    input_player1_up_axis = “-1”
    input_player1_down_axis = “+1”
    input_player1_left_axis = “-0”
    input_player1_right_axis = “+0”

    input_analog_dpad_mode = “1”

    lividhatter
    Participant

    Everything else seems to work, but i cant exit out of mupen64plus. Is there a different hotkey combination?

    #89452
    polluxpt
    Participant

    This is a easier solution but changes the hotkey to all emulators (in case you use multiple systems like me).
    My solution just apply the change to fbalibretro and you can still exit by pressing Select+Control (has this is configured in retroarch.cfg file).
    You have now two possible solutions for your problem which is good because you can choose the one that fits you best.

    #89446
    killer101
    Participant

    Considering polluxpt solution I found a somewhat easier solution for autodetect controllers like the PS3 one.

    Just go to …

    /opt/retropie/emulators/retroarch/configs/

    Find the config file for your controller and change the line

    input_enable_hotkey_btn = “0”

    to another button.

    Here “0” stand for the Select button on the PS3 Controller. I changed it to “8” which is the left trigger. No more coin problem!

    To exit an emulator you must now press left trigger and start!

    #89280
    polluxpt
    Participant

    After several tries I got it fixed.

    As I think this will be usefull for other people I write my solution:

    1st – I made a fresh new install and put fb_alpha_libretro.cfg in my fba config folder.
    This config folder was edited by me, starting from the original one (post above) which I got directly from Retroarch;

    2nd – I edited es_systems.cfg file from /opt/retropie/supplementary/runcommand/runcommand.sh 1 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/fbalibretro/fb_alpha_libretro.so --config /opt/retropie/configs/all/retroarch.cfg --appendconfig /opt/retropie/configs/fba/retroarch.cfg %ROM%" "fbalibretro" to /opt/retropie/supplementary/runcommand/runcommand.sh 1 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/fbalibretro/fb_alpha_libretro.so --config /opt/retropie/configs/all/retroarch.cfg --appendconfig /opt/retropie/configs/fba/fb_alpha_libretro.cfg %ROM%" "fbalibretro".
    I tried a copy-paste solution into retroarch.cfg but somehow it messed things up so I prefered to add this fb_alpha_libretro.cfg file;

    3rd – After previously edited my fb_alpha_libretro.cfg file I checked my button configuration running some games and figured out that they need to be ajusted (I got a ShanWan Usb WirelessController, LINK:
    http://www.dx.com/p/2-4ghz-dual-shock-wireless-game-joypad-controller-w-usb-receiver-for-pc-white-black-4-x-aaa-125741#.VO88jiy8pls ).
    I edited my controls in fb_alpha_libretro.cfg file (inside fba config folder) and got my general controllers set up in retroarch.cfg (inside all config folder) so they both work with hotkeys, save/load states, etc, not messing each other.
    Just one quick note: Somehow in some games Select button don’t work as Coin and hotkey. So I changed Coin from Select to another button and it works great (and I can live with that).

    I tried just 3 games this far (Pang, The Punisher and Cadillacs & Dinosaurs) and all of them worked great, with 4:3 resolution. I’m waiting for a 64GB mini pen so I probably will find issues in the future and I will update this post later (if needed).

    In case someone needs them I attached my cfg files (renamed to TXT) here.

    NOTE:
    fb_alpha_libretro.txt exists already in this post so please rename fb_alpha_libretro1.txt to fb_alpha_libretro.cfg in order to use it.

    #89251
    Floob
    Member

    This should answer your hotkey questions – its really pretty clear once you get the hang of mapping what you want.
    Check the other videos there for controller configs (I have a playlist there for that).

    necoigne
    Participant

    Hey guys,
    This is my second retropie project that I’ve done, this one with the pi 2. I’ve got everything set up and running, the one problem I’m running into is editing the retroarch.cfg file to be able to use a hot key to exit the emulators and save/load. I’ve put it in the /opt/retropie/configs/all/retroarch.cfg file, but it doesn’t seem to be doing anything. This is how I have it typed in, which worked for my pi b+

    input_enable_hotkey_btn = “8”
    input_exit_emulator_btn = “9”

    input_save_state_btn = “4”
    input_load_state_btn = “5”

    I’ve tried with and without quotations and even tried it with the # in front of the commands (I’m still quite the beginner and have no idea what that even does). the 8 and 9 are my start and select buttons, I tested it with retroarch-joyconfig to make sure. If it helps I installed debian and then retropie from source. Any suggestions would be greatly appreciated.

    grenade44
    Participant

    Hi,

    Im building a raspberry in a nes case and using the gpio adapter. I have got everything connected up and working. Both nes controllers work with jstest but i cant get the second controller to work in a game. What am I doing wrong?

    im using retropie 2.6, gpio adapter 1.4 and raspberry pi B.

    My controller config for my nes games

    input_player1_joypad_index = “0”

    input_player1_b_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 = “1”

    input_player2_joypad_index = “1”

    input_player2_b_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 = “1”

    input_exit_emulator_btn = “7”
    input_enable_hotkey_btn = “6”
    input_save_state_btn = “-1”
    input_load_state_btn = “+1”

    #89125

    In reply to: GN6 Genasis controller

    neighbourhoodnerd
    Participant

    A few tips from my own experience:
    – /all/retroarch.cfg is the default control scheme (and settings) for all retroarch emulators
    – /genesis/retroarch.cfg is the control scheme and settings file for JUST the genesis emulator, and any settings within it override settings in the /all/ file.
    – If you’re using an old “Skeleton” retroarch.cfg file, note that a lot of the button names have changed.

    I spent ages trying to get this to work, which I had copied from an old thread:

    input_enable_hotkey = "6"
    input_menu_toggle = "3"

    The correct code is actually:

    input_enable_hotkey<strong>_btn</strong> = "6"
    input_menu_toggle<strong>_btn </strong>= "3"

    That one drove me crazy X-D

    #89001
    Morpheus
    Participant

    @warmania,

    I use these lines on the very end of my retroarch.cfg for using Select”+”Start” to leave the emulators.

    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"

    The number of the buttons may be different for your “select” and “start”, if you know what they are, just use the proper button #s.

    vitals
    Participant

    evan if i disable hotkeys all together from the setup menu in the retropie script they still work

    vitals
    Participant

    no one knows anything ,any suggestions would be helpful
    its like no matter what i do my defined hot keys works on some emulators and others default hotkeys override mine
    is there any way to remove the default hotkeys its not in the main config.cfg or in the emulators.cfg

    #88904

    In reply to: Mayflash Arcade Stick

    merichards
    Participant

    UPDATE: The solution for the Mayflash stick is embarassingly simple. I checked the Mayflash website and found out that if you press Auto and Clear together once the stick becomes a normal two-axis stick, press them again and it goes back to a hat switch. For MAME doing this is enough, the default controls will then work happily.

    Sadly the stick doesn’t remember this and defaults to hat switch mode so you’ll need to do it every time.

    P.S. If you do that and return to EmulationStation you won’t be able to navigate until you re-configure the stick using the GUI. Just toggle back to hat switch mode, bring up the menu, click Configure Input, toggle back to axis mode and go through the process.

    I also modified my config file so that the stick works in RetroArch in axis mode:

    input_device = "MY-POWER CO.,LTD. Mayflash Arcade Stick"
    input_driver = "udev"
    
    input_a_btn = 0
    input_b_btn = 1
    input_x_btn = 4
    input_y_btn = 5
    input_l_btn = 2
    input_r_btn = 3
    input_l2_btn = 6
    input_r2_btn = 7
    
    input_select_btn = 8
    input_start_btn = 9
    
    #input_up_btn = h0up
    #input_down_btn = h0down
    #input_left_btn = h0left
    #input_right_btn = h0right
    
    input_l_x_plus_axis = +0
    input_l_x_minus_axis = -0
    input_l_y_plus_axis = +1
    input_l_y_minus_axis = -1
    
    input_enable_hotkey_btn = 8 
    input_exit_emulator_btn = 4
    input_save_state_btn = 2
    input_load_state_btn = 3
    input_state_slot_increase_btn = 6
    input_state_slot_decrease_btn = 7
    input_menu_toggle_btn = 0
    polluxpt
    Participant

    I’m using 2.6 RPi2 Version of RetroPie and I have all my systems running as I want except one: FBAlibretro.

    If I use PiFBA I can setup my controls just fine but I cannot get my screen to 4:3.
    If I use FBAlibreto I get my screen 4:3 but I get weird controller setup so my journey begins here.
    After reading a lot and trying a lot a things I got my controller to work but I cannot change my buttons to my own set.
    I got into retroarch, configured my controller and saved into fb_alpha_libretro.cfg file.
    Then I copied that file into FBA config folder and changed my ES_Systems.cfg file to get it to work.
    At this point I got my controller working in FBAlibretro but got no hotkeys working so I setup a retroarch.cfg inside FBA folder to override configurations. After doing this I got a mixed configuration and got hotkeys.
    However my problem was not solved since I could saw lines in terminal changing my controller into Retropad.
    Trying to change my input buttons data I set one to “nswitch.ncode: 6” and I got everything working but my “Coin” buttons was my controller Y button (I wanted Select button).

    Since I’m really confused and I cannot find doubtless information about this, can anyone tell me the best/right way to do it?

    Thanks a lot!

    PS: FBAlibretro runs games that PiFBA doesn’t so I stick to FBAlibretro.

    #88887

    In reply to: Autofire on the axis

    daveireland20
    Participant

    Yea buddy, I tried it without player 2, also tried it just with the “player1” lines of code active, for some odd reason as soon as the prefix “player” is included in the lines of code, retroarch seems to refuse to acknowledge their input completely, I know the controller file is being passed to retroarch correctly as the hotkeys to exit the emulator remain working but not the controllers, in a bit of a pickle Haha !

    #88872

    In reply to: GBA Gpsp control issue

    BuToNz
    Participant

    Also worth noting my RetroArch hotkeys are not working on Gpsp either. Is something amiss?

    #88870

    In reply to: NES + ControlBlock

    tanglo
    Participant

    Try to replace the code in the controlblockconfig.cfg with this:

    {
    	"input" : {
    		"gamepadtype" : "snes"
    	
    },
    	"powerswitch" : {
    		"activated" : true
    	}
    
    }

    Did You config the emulator?

    For the NES emulator, edit this file: /opt/retropie/configs/nes/retroarch.cfg

    Mine looks like this:

    # All settings made here will override the global settings for the current emulator core
    
    video_shader = /opt/retropie/emulators/retroarch/shader/phosphor.glslp
    video_shader_enable = false
    video_smooth = false
    
    input_player1_joypad_index = "0"
    input_player1_b_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 = "1"
    
    input_player2_joypad_index = "1"
    input_player2_b_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 = "1"
    
    input_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"
    

    You do not need snesdev.

    #88869

    In reply to: Autofire on the axis

    daveireland20
    Participant

    Having a similar issue myself still mate, cannot regardless of which combination I try get player 2 (or 1) to work in retroarch emulators. For some reason when I add in the prefix”player1″ or”player2″ retroarch then seems to ignore all input from these buttons and Joysticks, the only buttons that remain working are the hotkey enabled buttons. If i remove the player prefix from each line of code, for instance

    input_b_btn = “12” (Works perfectly)
    input_player1_b_btn = “12” (Stops working)
    I’ve pasted my config file for the Xin-Mo in retroarch incase anyone spots a glaring error that I’ve missed.

    Cheers

    input_device = “Xin-Mo Xin-Mo Dual Arcade”
    input_driver = “udev”
    input_player1_joypad_index= “0”
    input_player1_b_btn = “12”
    input_player1_y_btn = “13”
    input_player1_select_btn = “14”
    input_player1_start_btn = “15”
    input_player1_up_axis = “-2”
    input_player1_down_axis = “-3”
    input_player1_left_axis = “+3”
    input_player1_right_axis = “+2”
    input_player1_a_btn = “10”
    input_player1_x_btn = “11”
    input_player1_l_btn = “17”
    input_player1_r_btn = “16”
    #input_l2_axis = “”
    #input_l3_axis = “”
    #input_r3_axis = “”
    #input_l_x_plus_axis = “”
    #input_l_x_minus_axis = “”
    #input_l_y_plus_axis = “”
    #input_l_y_minus_axis = “”
    #input_r_x_plus_axis = “”
    #input_r_x_minus_axis = “”
    #input_r_y_plus_axis =
    #input_r_y_minus_axis = “”

    input_enable_hotkey_btn = “14”
    input_exit_emulator_btn = “15”
    #input_shader_next_btn = “17”
    #input_shader_prev_btn = “16”

    input_player2_joypad_index = “0”
    input_player2_b_btn = “1”
    input_player2_y_btn = “0”
    input_player2_select_btn = “4”
    input_player2_start_btn = “9”
    input_player2_up_axis = “+0”
    input_player2_down_axis = “-1”
    input_player2_left_axis = “-0”
    input_player2_right_axis = “+1”
    input_player2_a_btn = “2”
    input_player2_x_btn = “3”
    input_player2_l_btn = “7”
    input_player2_r_btn = “6”

    vitals
    Participant

    i have been at this all day cant figure it out!
    first i am using a raspberry pi 2
    and the newest image
    and xbox wireless controllers

    i have had hotkeys setup with old setup .but cant get it to work right on new image.
    i first use the defualt xpad driver for controllers
    and when into the retroarch.cfg and added the hot keys i wanted

    at the end of the config file i put

    input_enable_hotkey_btn = 6
    input_exit_emulator_btn = 7
    input_save_state_btn = 5
    input_load_state_btn = 4

    andi it worked fine for sega , nes , gamegear ,gameboy color ,gameboy , psx
    but didnt work for n64 or snes
    with snes i could exit and save and load state just not with the buttons I had defined
    and n64 nothing worked

    so i gave up
    and wanted to fix the xbox controller leds from flashing
    so i had to use the xboxdrv driver and set it up
    and blacklisted xpad
    restarted and leds were fixed and controllers working fine
    so than i went back to retroarch.cfg
    and add hot keys same as before
    now all the emulators but n64 have hotkeys but not the ones i defined and they are different for each emulator .
    I than erased the hotkeys i put into retroarch.cfg
    ran the ./retropie-setup.sh script
    and configured my controller in the setup menu
    and it saved to XboxGamepad(userspacedriver).cfg
    than i added the hotkeys to XboxGamepad(userspacedriver).cfg
    still nothing
    when into snes folder to see if the was a config file that was overriding my config and there was nothing
    I am out of options and read all i could fined on it
    please help

Viewing 35 results - 631 through 665 (of 1,077 total)