Control Mapping ! HELP

Questions and tweaks for Attract-Mode on ARpiCADE.

Moderator: dee2eR

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

Re: Control Mapping ! HELP

Post by dee2eR » Mon Jul 22, 2019 11:34 pm

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.

Bloodybone
Community Member
Community Member
Posts: 3
Joined: Mon Jul 22, 2019 8:18 pm

Re: Control Mapping ! HELP

Post by Bloodybone » Wed Nov 20, 2019 8:59 pm

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.

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

Re: Control Mapping ! HELP

Post by dee2eR » Thu Nov 21, 2019 4:08 am

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.

Bloodybone
Community Member
Community Member
Posts: 3
Joined: Mon Jul 22, 2019 8:18 pm

Re: Control Mapping ! HELP

Post by Bloodybone » Thu Jul 30, 2020 12:19 am

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

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

Re: Control Mapping ! HELP

Post by dee2eR » Thu Jul 30, 2020 2:28 am

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.

Post Reply