aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.cpp
diff options
context:
space:
mode:
authorProducdevity <y.gherbi.dev@gmail.com>2025-12-17 03:59:46 +0100
committercrueter <crueter@eden-emu.dev>2025-12-17 03:59:46 +0100
commite4dccd5a5cca46eb98d2474060758bab58126b07 (patch)
treeee032b98489625093cf6a7dca56eb1401f9118de /src/input_common/drivers/mouse.cpp
parentb9530ae80f9994f4a10143f8336f2b9bee4416fc (diff)
[android] setting to auto hide overlay on controller input (#3127)
Setting `HIDE_OVERLAY_ON_CONTROLLER_INPUT` in *Advanced settings → Input Overlay* **Behavior:** - First controller input -> hides overlay - Controller disconnect → shows overlay again - Subsequent controller inputs → ignored (already hidden, so no retrigger needed) - Touch screen → does **not** show overlay (so you can use a controller and touchscreen to interact with games) - Sidebar "Show/Hide controller" button → still works as master toggle **State reset: The "first input" detection resets when:** 1. Controller disconnects 2. Overlay is shown via sidebar button 3. Controller reconnects **Interaction with other settings:** - Requires `SHOW_INPUT_OVERLAY` to be enabled (basicaly a master switch) - Independent from `ENABLE_INPUT_OVERLAY_AUTO_HIDE` (timer-based hide, was already implemented) - When both are enabled, touch-to-show is disabled (controller-hide takes precedence) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3127 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: Producdevity <y.gherbi.dev@gmail.com> Co-committed-by: Producdevity <y.gherbi.dev@gmail.com>
Diffstat (limited to 'src/input_common/drivers/mouse.cpp')
0 files changed, 0 insertions, 0 deletions