credit button shortcut

Thinking about getting a RaspberryJAMMA, or have just purchased one and have a newbie question? Walls here are padded, come on in and bounce your question off of them!

Moderator: dee2eR

Post Reply
pac daddy
Community Member
Community Member
Posts: 2
Joined: Fri Aug 07, 2020 4:17 am

credit button shortcut

Post by pac daddy » Fri Aug 07, 2020 11:18 am

hey just recently bought a arpicade jamma adaptor with pi3 what a great piece of hardware
Just having troubles with credit button shortcut
As is p1 button and p1bi to add credit but kids finding it hard as they just exit the game sorry if it has been answered before
Is there a easyer way to credit the machine without adding a extra button
Better shortcut button and how to change the shortcut sorry if its a noob question this software is new to me
Thanks

dee2eR
Inventor
Inventor
Posts: 1256
Joined: Tue Aug 22, 2017 2:07 pm

Re: credit button shortcut

Post by dee2eR » Fri Aug 07, 2020 1:32 pm

You can adjust the shortcut hotkeys in /boot/hotkeys.ini (player 1 inputs only).

You may just want to make the hold start to exit take longer to reduce accidental occurrences.

I recommend making a backup image of the SD card before making any changes, just in case anything goes wrong. Also if you use Windows and don't already have it get Notepad++ for editing files. Windows built in text editors will cause problems with Linux files. Also make sure you always safely remove/eject/unmount the SD card before pulling it out of your PC.

pac daddy
Community Member
Community Member
Posts: 2
Joined: Fri Aug 07, 2020 4:17 am

Re: credit button shortcut

Post by pac daddy » Sun Nov 15, 2020 10:53 am

i opened up the file with notepad++ how do i make button duration longer sorry if a novice question this is what is in the file
# add a coin 2 shortcut
# START+B=key:KEY_6

dee2eR
Inventor
Inventor
Posts: 1256
Joined: Tue Aug 22, 2017 2:07 pm

Re: credit button shortcut

Post by dee2eR » Thu Nov 26, 2020 5:29 am

That doesn't look right, the full contents of the default hotkeys.ini (from ARpiCADE 3.X) is
# Hotkeys config file
# Only player 1 controls can be used at this time
# To disable a shortcut delete the line, do not comment it out
# Limited joystick axis support as follows
# Joystick down = Y1, joystick right = X1, NO SUPPORT FOR UP OR LEFT
# JAMMA buttons map to Xbox button names as follows
# B1 = A, B2 = B, B3 = BLACK, B4 = Y, B5 = X, B6 = WHITE, Start = START
#examples of other options available
# add a coin 2 shortcut
# START+B=key:KEY_6
# use P1 Start + Button 3 to exit emulators
# START+BLACK=key:KEY_ESC

[ui-axismap]
START+Y1=key:KEY_P
START+X1=key:KEY_TAB

[ui-buttonmap]
START=BTN_START:KEY_ESC:1500
START+A=key:KEY_5
START+WHITE=key:KEY_F1

# EOF #
To increase the button duration fro the exit command increase the 1500 the other shortcuts don't use a timer.

Post Reply