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
Hotkeys not working since update to 3.9
Moderator: dee2eR
Re: Hotkeys not working since update to 3.9
That's odd. I don't remember hearing of any issue with it before... Is it everywhere or just a particular emulator?
Have you edited /boot/hotkeys.ini or /boot/run.sh at all? They should be the only files effecting the hotkeys operation.
Have you edited /boot/hotkeys.ini or /boot/run.sh at all? They should be the only files effecting the hotkeys operation.
Re: Hotkeys not working since update to 3.9
Oddly enough they work on the SNES Emu. I’m gonna have another look now.
Re: Hotkeys not working since update to 3.9
This is what my hotkeys.ini file looks like
and my run.sh
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
Re: Hotkeys not working since update to 3.9
Weird, I just hashed this out and it's fine now
START+B=key:KEY_6
to
#START+B=key:KEY_6
START+B=key:KEY_6
to
#START+B=key:KEY_6
Re: Hotkeys not working since update to 3.9
good stuff, that was the only thing I could see that seemed odd. Glad it fixed it.
If you do want the extra coin shortcut it needs to be added to the [ui-buttonmap] section.
If you do want the extra coin shortcut it needs to be added to the [ui-buttonmap] section.


