Select button issues with LSDJ (Demo) on GB
-
LSDJ the music chiptune composing app on Gameboy uses button combinations like SELECT+RIGHT to switch between screens (such as Pattern Editor, Song Editor, etc).
When I try this it doesn't work but will just give me a little yellow message on the bottom that it changed save state slots. I CAN use rshift+left/right to change screens.
I'm very new to RetroPie and I was just wondering how to change the behavior appropriately for this specific ROM on Gameboy. I'm using a USB NES gamepad for my gamepad. So I want to use SELECT+(RIGHT/LEFT/UP/DOWN) during the game and remap the change save slot behaviors to keyboard keys.
Started looking through the docs and retroarch.cfg but only have a vague idea how I might do this.
-
@johne79
You can over-ride the default RetroArch/libretro Hotkey behavior for a specific game by putting your custom configuration in a file named<ROM filename>.zip.cfg
in the same directory as your ROM.For example:
If your ROM file is namedlsdj3_1_9_demo.zip
in~/RetroPie/roms/gb/
then you would make a file named~/RetroPie/roms/gb/lsdj3_1_9_demo.zip.cfg
.Now I'm not sure of the information you need to put in this file because I've never tried this and I'm not at my RPi.
-
@johne79
Okay I experimented with this over my lunch break and this is what I discovered!From my understanding
input_enable_hotkey
is for a keyboard andinput_enable_hotkey_btn
is for a game controller but I had to set both to the same keyboard key before it would work.Here is an example of my
<ROM filename>.zip.cfg
:# Hotkey button input_enable_hotkey = "del" input_enable_hotkey_btn = "del" # Exit emulator input_exit_emulator = "Z" input_exit_emulator_btn = "Z" # Reset ROM input_reset = "X" input_reset_btn = "X"
Also Hotkey + B button on game controller to save state and Hotkey + X button on game controller to load state. So with my "Hotkey" set to the Delete key on the keyboard, I was able to hold down the Delete key on my keyboard and then press the B button on game controller to successfully save and X to load.
-
Bless you backstander, it works! ^_^
I had to make sure the input_state_slot_increase_btn = "S" and input_state_slot_decrease_btn = "A" were set (I used Z/X, and Q/W for Exit/Reset ROM).
-
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.