retroarch.cfg
-
One more thing I should mention both they keyboard and joystick are currently controlling player 1. I just read in some forum post that hotkeys only work on the controller controlling player 1. What happens if you have two controllers controlling player 1? Not that I need this config. If I somehow force the keyboard to be player 1 will I get Hot keys to work?
-
Still can't get this thing to work. I took the bluetooth controller out of the equation and it still won't work. I have GPIO controls setup using adafruit retro game. Emulation Station works fine using these controls. Button A, B, joystick, start and select. retroarch.cfg shows input_player_1_a "a". But when I get into mame rgui shows it as y. It seems retroarch.cfg does not control libretto mame? I hand edited retroarch.cfg still y. Went into retropie setup, configuration tools, retroarch, configure keyboard, shows input_player_1_a "a". mame shows y. Also did configure keyboard hotkey, 1 Hotkeys Enabled default. Never prompts for hotkey. Since the adafruit driver is simulating keyboard I want input_enable_hotkey_btn="5". Won't work. The only way I can get out of game is to hook up keyboard to USB and press escape. Wow a joystick was very simply to setup but keyboard is insane. Has anybody gotten this thing to work with adfruit retro game and a keyboard hotkey?
-
Deleted
-
@flagrant99 all of the configs like input_enable_hotkey = "nul" that dont have _btn which stands for button are used for keyboard. So you would do something like
input_enable_hotkey = "esc"
For the keyboard
-
@flagrant99 so you can have both a keyboard and controller hotkey. However you didnt have to set a hotkey for your controller. The individual controllers config do that so you can use that controllers hotkey. I would change that one back to nul
-
Thank you. I was setting the btn version to a key. Now I am setting
input_enable_hotkey_btn = "nul"
input_enable_hotkey = "z"Now I expected z+a to exit, but now I see that z+escape does it. I will have to try
input_exit_emulator = "1" -
z+1 does nothing. So I am starting to wonder if keys cannot be multifunction like joy pad buttons.
-
z+j worked. Nothing was using "j". Then I tried "z"+"b" that worked. It does not like "1". I will change my retrogame.cfg to stop simulating 1 and 5 keypresses and just use letters. I think I am getting closer.
-
Select + Start is working!
Documenting everything herehttps://sites.google.com/site/gregsqna/raspberry-pi/build-1/controls/adafruit-retrogame
Still need to HotKey up other functions and figure out why button A will not register in game. It register in RGUI, and Emulation Station Fine.
Here's my edits
input_player1_a = "A"
input_player1_b = "B"
input_player1_y = "nul"
input_player1_x = "nul"
input_player1_start = "K"
input_player1_select = "J"
input_player1_l = "nul"
input_player1_r = "nul"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"input_enable_hotkey_btn = "nul"
input_exit_emulator = "K"
input_enable_hotkey = "J" -
@flagrant99 retroarch doesnt like the num keys and the num lock keys for some reason
-
@flagrant99 a works as hotkey and esc for exit. Thats what i use. Not sure your issue with a
-
@flagrant99 you might need to assign keys to x and y. A is originally y’s button and that might be causing an issue
-
Thanks for all your help. Got back to this and finally figured it out. The Key a-ha moment came when I realized RGUI has NO Concept of input_player1_a . input_player1_a actually always gets mapped to User 1 Button 4. input_player1_b to User 1 Button 1. So I came up with this understanding:
input_player1_a is REALLY input_player1_y
input_player1_b is really input_player1_a
input_player1_y is really input_player1_b
input_player1_x is really input_player1_xinput_player1_a = "Y"
input_player1_b = "A"
input_player1_y = "B"
input_player1_x = "X"and yeah STAY AWAY FROM #'s keys.
Thx Again.
-
@flagrant99 said in retroarch.cfg:
and yeah STAY AWAY FROM #'s keys.
Not true. I have SELECT and START for four players all mapped to numbers on a keyboard and this works just fine. These are MAME defaults, after all. However, if you pay attention to the allowed values commented in the default retroarch.cfg file, you see that you have to specify numbers as "num1", "num2", etc. not "1", "2", and so on.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.