earthprime Posted November 23, 2025 Posted November 23, 2025 I have a default overlay assigned to my Retroarch core - and can toggle the overlay by navigating through the Retroarch menu. Is there a Hotkey that I can assign to toggle the overlay ON or OFF with my Xbox controller? I've looked through the Hotkey options in Retroarch but only see options for "Shaders" and "Keyboard Overlay". The retroarch.cfg file has an entry for "input_overlay_enable" but this can only be set to TRUE or FALSE, so I can't manually assign a hotkey control. Quote
brian84ar Posted Saturday at 10:32 AM Posted Saturday at 10:32 AM I've been looking for this too but there is no hotkey to toggle overlay on and off. we need a function like that Quote
skizzosjt Posted Saturday at 02:09 PM Posted Saturday at 02:09 PM there is not one. there are next/prev overlay hotkeys to select different overlays. you need to use those instead. you will need to create blank entries for any game you want to do this with. for ex for Super Mario 64 overlay it would be this below the 2nd entry is blank. when you switch to the 2nd overlay ("overlay1" - note the 0 index is the first entry) it just doesn't load any image, hence, making it act just like a toggle button. next and prev hotkeys will act like a toggle overlays = 2 overlay0_overlay = "Super Mario 64 (USA).png" overlay0_full_screen = true overlay0_descs = 0 overlay1_overlay = overlay1_full_screen = true overlay1_descs = 0 you'll want to run a script to do this if the plan was a global change. if you wanted only certain games, then do them individually. otherwise, I made this AHK script years ago to create overlay files looking like the above. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. FileNameArray := [] OverlayContentsA := " ( overlays = 2 overlay0_overlay = )" OverlayContentsB := " ( overlay0_full_screen = true overlay0_descs = 0 overlay1_overlay = overlay1_full_screen = true overlay1_descs = 0 )" FileCreateDir, New Configs FileCreateDir, Backup ;Getting array filled with file names Loop, Files, *.cfg, F { SplitPath, A_LoopFileName, , , , FileNameNoExt FileNameArray.Push(FileNameNoExt) } ;Creating New Configs Loop, % FileNameArray.Count() FileAppend, % OverlayContentsA . " """ . FileNameArray[A_Index] . ".png""" . OverlayContentsB, % ".\New Configs\" . FileNameArray[A_Index] . ".cfg" ;Backups Loop, % FileNameArray.Count() FileMove, % FileNameArray[A_Index] . ".cfg", % ".\Backup\" . FileNameArray[A_Index] . ".cfg", 1 ;Move new configs to correct directory Loop, % FileNameArray.Count() FileMove, % ".\New Configs\" . FileNameArray[A_Index] . ".cfg", % FileNameArray[A_Index] . ".cfg", 1 FileRemoveDir, New Configs run that from the same directory as where the overlay .cfg files live Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.