Hotkeys not working since update to 3.9
Posted: Fri Jun 05, 2020 8:29 am
I'm sure I read a fix for this but can't find it in the search
P1+BTN1 for credit, P1 for 3 seconds to esc, etc
P1+BTN1 for credit, P1 for 3 seconds to esc, etc
ARpiCADE is the operating system that powers the RaspberryJAMMA
https://www.arpicade.com/forums/
Code: Select all
# 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
[ui-buttonmap]
START=BTN_START:KEY_ESC:5000
START+A=key:KEY_5
START+WHITE=key:KEY_F1
# EOF #
Code: Select all
#! /bin/bash
## Setup dispmanx for SDL1.2
export SDL_DISPMANX_IGNORE_RATIO=1
clear
## Redirect audio to RPi analog output rather than HDMI
#amixer cset numid=3 1
## Now loading message
/boot/nowloadn.sh
## Start hotkeys
hotkeys start
## If you want to auto load a game put it here
#/boot/launchers/advmame.sh simpsons >/dev/null 2>&1
## Scan roms for Attract-Mode list
## accepts 1 command 'all' 'arcade' 'console' 'acnoporn' or 'allnoporn'
bash /boot/launchers/ScanRoms_V007.sh allnoporn >/dev/null 2>&1
## Bugfix for SDL2.0 keyboard input to terminal bug for a cleaner Attract-Mode
stty -echo
## Launch Attact-Mode (games list)
attract >/dev/null 2>&1
## Launch Attact-Mode again (service menu)
attract -c /home/pi/.attractsm/ >/dev/null 2>&1
## Restore terminal keyboard output for a usable terminal
stty sane
## AdvanceMenu frontend
## NOTE: AdvMenu is now considered depreciated so the config file is out of date, some config will be required to use AdvMenu
## If you want to use AdvanceMenu disable all romscanning scripts as they are not used by AdvanceMenu
#/home/pi/.advance/advmenu >/dev/null 2>&1