[Feature Request] <hotkey for input overlays / conditional overlay switching>
Feature Request: Conditional Overlay Profiles (controller-aware overlay switching)
Summary
RetroArch currently supports Hide Overlay When Controller Is Connected, which removes the touchscreen overlay entirely if a gamepad is present. This is great for full-controller play, but it prevents hybrid setups.
Ask: Allow users to define two overlay presets and switch between them automatically based on input state:
- Touch Only: full virtual gamepad overlay
- Controller Connected: minimal overlay (e.g., Menu, Coin, Rewind, FF) that stays available even with a physical controller
This enables controller-first play while retaining a few touch actions that aren’t on the pad (e.g., an on-screen coin button for arcade cores).
Motivation / Problem
- With Hide Overlay When Controller Is Connected = ON, the overlay disappears entirely; players lose quick access to menu/utility actions that aren’t mapped on their controller.
- With it OFF, the full touch overlay clutters the screen while using a controller.
- There’s no built-in way to auto-select a minimal overlay when a controller is connected and auto-select a full overlay when it isn’t.
Example Use Cases
- Arcade (MAME/FBA): Use a physical controller for gameplay, keep a tiny overlay for Coin, Menu, Pause, FF.
- Shaders/Quick Menu access: Minimal overlay gives a tap target to open Quick Menu without needing controller combos.
- Handheld on the go: No controller detected → full touch overlay auto-appears.
Proposed Behavior
Introduce conditional overlay profiles that respond to hotplug state:
- Touch Only state (no controller detected):
- Load a Full Touch Overlay preset (user-selectable).
- Controller Connected state (any recognized gamepad):
- Load a Minimal Overlay preset (user-selectable) instead of hiding the overlay entirely.
Optional:
- Hysteresis / delay to prevent rapid toggling during connect/disconnect flaps (e.g.,
500–1500ms). - Manual override hotkeys to force a profile for the current session.
- Per-core/game overrides (use existing Overrides flow).
UI / UX Proposal
Settings → On-Screen Display → On-Screen Overlay
- Overlay Behavior (new)
Static (use selected preset)(current behavior)Hide when controller is connected(current behavior)Conditional profiles (recommended)- Touch-only preset: (file picker → .cfg)
- Controller-connected preset: (file picker → .cfg)
- Transition delay (ms): (numeric; default 800ms)
Quick Menu → Controls / Overlay
- Show the currently active profile (Touch vs Controller).
- Provide “Switch profile” action (temporary override until next hotplug event).
Alternatives Considered
- Manually bind hotkeys to Overlay Next/Previous and cycle to a minimal overlay when a controller is connected.
Limitations: Requires manual switching per session and doesn’t track hotplug state; error-prone UX.
I think this is must because i don't have always a controller with me.
Agreed, would be really useful. I like bezel overlays when playing with a physical controller, but when I don't have a controller selected I'd like all games to revert to a controller overlay instead (or as well as).
+1
Agree that ability to set separate overlays (normal overlay when used without controller & a minimal auto hiding overlay when controller is connected) feature is going to make the gameplay experience much better, by just setting these cfgs once. Allows easy plug and play.
I made a fork for this feature and will be submitting a PR this weekend
This would be very useful for phones. I never carry a controller around in my pocket, so I want both an on-screen controller and my bezels. A hotkey to switch would be great, but i'd be happy with just being able to load a second overlay config... The only solution i can find now is making a custom overlay with bezels and on-screen controls in one...
I have this working on my build. I think this feature is wrapped in my recent PR adding S-pen functionality?
I am about to have more time to get my attention back to helping w retroarch... ill look into this over the weekend if I have time.
It is helpful ☺️
On Sat, Oct 24, 2026, 9:54 AM naster85 @.***> wrote:
naster85 left a comment (libretro/RetroArch#18178) https://github.com/libretro/RetroArch/issues/18178#issuecomment-6385052538
This would be very useful for phones. I never carry a controller around in my pocket, so I want both an on-screen controller and my bezels. A hotkey to switch would be great, but i'd be happy with just being able to load a second overlay config... The only solution i can find now is making a custom overlay with bezels and on-screen controls in one...
— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/18178?email_source=notifications&email_token=AIDANIFE7Y4RSYWPF2U52N35VSYCZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGUYDKMRVGM4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6385052538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDANIAKJGV7OXMSO7XFN5L5VSYCZAVCNFSNUABCKJSXA33TNF2G64TZHM3DQOJTGQ2DWSLTON2WKOZTGMZDKMJYGMZTGMVBOYBA . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIDANIEPVLH3E7VBQL52O4L5VSYCZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGUYDKMRVGM4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIDANIBBOWJ7VQKLFNZXSSL5VSYCZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGUYDKMRVGM4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
I am actually trying something Claude suggested: A combined overlay with bezel and on-screen controls, with a toggle to remove the on-screen controls. The toggle and menu button stay so you can toggle them back on and access the menu if needed, but I (Claude) could remove the menu button too, it would come back with the rest of the on-screen buttons when toggled back on. You need to have "Hide overlay in menu" toggled on. The bezels aren't shown behind the menu then, but the touchscreen works in the retroarch menu.
I only made one for now, as they need to be different per system. Could I post it here? I did not make the bezel art myself...
im interested in refining this. I have a lot of this already wired up as part of my S-Pen feature imp.
kindly point your AI agent at my repo forks feature branches for additional context? your implementation and mine may have overlap I suggest we merge where applicable. I am currently unable to assist much with this untill the weekend as I am engaged with other projects
On Sat, Oct 24, 2026 at 11:52 AM naster85 @.***> wrote:
naster85 left a comment (libretro/RetroArch#18178) https://github.com/libretro/RetroArch/issues/18178#issuecomment-6386269314
I am actually trying something Claude suggested: A combined overlay with bezel and on-screen controls, with a toggle to remove the on-screen controls. The toggle and menu button stay so you can toggle them back on and access the menu if needed, but I (Claude) could remove the menu button too, it would come back with the rest of the on-screen buttons when toggled back on. You need to have "Hide overlay in menu" toggled on. The bezels aren't shown behind the menu then, but the touchscreen works in the retroarch menu.
I only made one for now, as they need to be different per system. Could I post it here? I did not make the bezel art myself...
— Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/18178?email_source=notifications&email_token=AIDANIA3XHLP4OGYHT6JXKD5VTF4TA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGYZDMOJTGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6386269314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDANIE7PA4Q6ZMZMIHA2TT5VTF4TAVCNFSNUABCKJSXA33TNF2G64TZHM3DQOJTGQ2DWSLTON2WKOZTGMZDKMJYGMZTGMVBOYBA . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AIDANIA2GNIUGB27Y2AXEET5VTF4TA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGYZDMOJTGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AIDANIGV6CPKN5INPWER7Z35VTF4TA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMZYGYZDMOJTGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>