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
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
uicrate and the touch/pointer focus-nav from #8.Scope
crates/ui: D-pad, A/B, Start/Select, drawn over the gameplay surfaceNotes