Page 2 of 2

Re: Control Mapping ! HELP

Posted: Mon Jul 22, 2019 11:34 pm
by dee2eR
The start+right shortcut can be disabled in /boot/hotkeys.ini by deleting the line it is on. It's worth backing up your SD card or at least making a copy of hotkeys.ini first as a mistake in this file can break the hotkeys entirely (so you won't be able to exit games or use any other shortcut you use). You cannot 'hash out' the line to disable things in hotkeys.ini due to the way it works.

Re: Control Mapping ! HELP

Posted: Wed Nov 20, 2019 8:59 pm
by Bloodybone
i delete the hot keys all together, i re-map (esc key or escape game back to main menu) to another button and them mount that button to front of the game. so i have that fig out. however even delete hotkey file does not solve this problem it still allows the player to get into that menu and change my maping.

Re: Control Mapping ! HELP

Posted: Thu Nov 21, 2019 4:08 am
by dee2eR
Edit run.sh to disable the hotkeys entirely, you just need to 'hash out' the line that launches the hotkeys. Not sure how you did it or what will happen if you delete the hotkeys.ini file and still launch the hotkeys system in run.sh. Interesting to hear it still works when the file is deleted entirely.

If you are using Windows and haven't already done so get Notepad++ as the built in editors can break Linux files.

Re: Control Mapping ! HELP

Posted: Thu Jul 30, 2020 12:19 am
by Bloodybone
i deleted my hotkey file and in my Run.sh file looks like this (below). and i can still hold start and right to enter menu, can i change to esc key on keyboard instead?
I do not want to access menu from the controls, keyboard only
thank you for the help

#! /bin/bash

# Setup dispmanx for clean AdvMAME & Daphne video output this version of SDL is modified to output for
# correct scanline output at 240p
export SDL_DISPMANX_IGNORE_RATIO=1
clear

# Now loading message
#/boot/nowloadn.sh

# Start hotkeys
# hotkeys start
/boot/launchers/advmame.sh wwfwfest >/dev/null 2>&1

## Scan arcade games for Attract-Mode list
# NOTE: noPornRoms is the same as sortRoms with an extra no porn games array, only use sortRoms OR noPornRoms, NOT BOTH.
#bash /home/pi/.attract/sortRoms.sh
#bash /home/pi/.attract/noPornRoms.sh

## Scan console games for Attract-Mode list
#bash /home/pi/.attract/sortRomsConsoles.sh

## Combine gamelists into all games list for Attract-Mode
#bash /boot/launchers/servMenu.sh carccons

# Bugfix for SDL2.0 keyboard input to terminal bug for a cleaner Attract-Mode
stty -echo

# Launch Attact-Mode (games)
attract >/dev/null 2>&1

# Launch Attact-Mode (service menu)
attract -c /home/pi/.attractsm/ >/dev/null 2>&1

# Restore terminal keyboard output for a usable terminal
stty sane

## AdvanceMenu frontend
# If you want to use AdvanceMenu disable all romscanning scripts as they are not used by AdvanceMenu
# Launch advmenu
#/home/pi/.advance/advmenu >/dev/null 2>&1

Re: Control Mapping ! HELP

Posted: Thu Jul 30, 2020 2:28 am
by dee2eR
looks like you're on an older version of ARpiCADE, you may need to check MAMEs menus while your game is running in case the shortcut is also set up as a combo in MAME rather than correctly using the hotkey system.

'esc' is the exit game command. 'tab' is the default key for the MAME menu.

Re: Control Mapping ! HELP

Posted: Wed Mar 17, 2021 12:11 am
by Bloodybone
having trouble programing exit to game menu for the 78 mame. in my adv mame 106 i use the jamma service button to exit to game menu, works great. when i go to play rampage (rom under (078) it will not exit. i tried programing the ui-cancel to the jamma service button, but the game does not exit, i was thinking about adding a hot key to fix this sense it does not look like i can program an exit button under tab settings for rampage under ui-cancel.

i seen this hot key that uses the start button hold [ui-buttonmap] START=BTN_START:KEY_ESC:1500

However i don't know how to type it out to get the correct button, im using the service button input on jamma and do not need the hold button command.


any help be appreciated
thx

Re: Control Mapping ! HELP

Posted: Tue Mar 23, 2021 4:49 am
by dee2eR
Bloodybone wrote:
Wed Mar 17, 2021 12:11 am
having trouble programing exit to game menu for the 78 mame. in my adv mame 106 i use the jamma service button to exit to game menu, works great. when i go to play rampage (rom under (078) it will not exit. i tried programing the ui-cancel to the jamma service button, but the game does not exit, i was thinking about adding a hot key to fix this sense it does not look like i can program an exit button under tab settings for rampage under ui-cancel.

i seen this hot key that uses the start button hold [ui-buttonmap] START=BTN_START:KEY_ESC:1500

However i don't know how to type it out to get the correct button, im using the service button input on jamma and do not need the hold button command.


any help be appreciated
thx
Unfortunately at the moment the service button isn't supported by the hotkeys system. I think I could add support for it in future but I would need to nut it out...

You may have more luck with 078 if you try configuring the service button to exit RetroArch from with the RetroArch menus rather than MAMEs menus, not something I've done before though.