Skip to content

Touch overlay for Android #22

Description

@mxmgorin

On-screen touch controls for the Android build: a translucent gamepad overlay (D-pad, A/B, Start/Select) rendered over the emulator surface so the emu is playable without a physical controller. Builds on the shared ui crate and the touch/pointer focus-nav from #8.

Scope

  • Overlay widget in crates/ui: D-pad, A/B, Start/Select, drawn over the gameplay surface
  • Multi-touch handling: simultaneous presses (D-pad + face button), press/release mapped to core input
  • Auto-hide when a physical gamepad is connected; toggle to show/hide manually
  • Layout/opacity/size configurable; sane defaults for portrait and landscape
  • Safe-area / notch aware placement; scales across DPIs
  • Optional haptic feedback on press

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestportNew platform portuiFrontend / GUI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions