Hotkey change
Moderator: dee2eR
-
- Community Member
- Posts: 2
- Joined: Sat Nov 06, 2021 3:05 am
Hotkey change
I've got a 4 player arpicade in a Simpsons cab. My cab doesn't have start buttons, so I can't get back to the game menu without a keyboard. I have coin buttons installed, so I figured it would make sense to change the hotkey from start to coin. How do i do this with my keyboard attached to pi? Can someone give me a step by step?
Re: Hotkey change
I'll do a writ eup for you tomorrow, I'll go through it step by step myself as I write so I don't miss anything.
-
- Community Member
- Posts: 2
- Joined: Sat Nov 06, 2021 3:05 am
Re: Hotkey change
Appreciate it!
Re: Hotkey change
Sorry, just wanted to let you know I haven't forgotten you, but my kids have been sick so I haven't been in the office much to go through it step by step. It will happen.
-
- Community Member
- Posts: 5
- Joined: Tue Feb 01, 2022 8:46 pm
Re: Hotkey change
This would be useful for me also Not sure what string should be used to represent holding coin 1 as an alternative to the player 1 button ('START') in hotkeys.ini. The information in the .ini file is good but I couldn't figure out as yet. Thanks in advance!
Re: Hotkey change
Sorry it took me so long. This guide should work for either ARpiCADE 3.X.1 or 4.3.1
Using coin in the hotkeys is only currently supported using the four player adaptor. For four player setups it's a pretty easy change and can be done on either the Pi or your PC. You just need to edit hotkeys.ini, if you use Windows do not use the built in Notepad as it will bork Linux files (get Notepad++, it's free and very good).
From the command line on the RPi: the command to edit hotkeys.ini is:
If you only want the exit shortcut changed the only line you need to change is: "WHITE=BTN_START:KEY_ESC:1500" make it:
If you mess something up or break the hotkeys.ini file, don't worry theres a backed up copy (hotkeys.ini.4p) - selecting 4player mode from the service menu will restore the original hotkeys.ini file.
Using coin in the hotkeys is only currently supported using the four player adaptor. For four player setups it's a pretty easy change and can be done on either the Pi or your PC. You just need to edit hotkeys.ini, if you use Windows do not use the built in Notepad as it will bork Linux files (get Notepad++, it's free and very good).
From the command line on the RPi: the command to edit hotkeys.ini is:
If you want to change all hotkeys to coin instead of start change "WHITE" to "BLACK" on the 2 lines under "[ui-axismap]" and the three lines under "[ui-buttonmap]".sudo nano /boot/hotkeys.ini
If you only want the exit shortcut changed the only line you need to change is: "WHITE=BTN_START:KEY_ESC:1500" make it:
When finished editing, press 'ctrl+x' to exit pressing 'y' to confirm saving and 'enter' to overwrite the file. Once back on the command line typeBLACK=BTN_START:KEY_ESC:1500
to reboot and then test to see if the changes worked.
sudo reboot
If you mess something up or break the hotkeys.ini file, don't worry theres a backed up copy (hotkeys.ini.4p) - selecting 4player mode from the service menu will restore the original hotkeys.ini file.