HydraIssues

hydraheadipad: game controller support — navigate the menu and a controller menu
open feature Project: hydraheadipad Reporter: 7 Nov 2026 13:21

Description

An Xbox nano controller is paired over Bluetooth to the head ipad-head-cederik. Today the HydraHeadiPad kiosk shell is touch only: the operator must tap a tile in the experience grid to start a stream, and tap the overflow menu for the in-stream sheets. A visitor holding a controller cannot get into or out of an experience without touching the glass.

First slice, this ticket:

  1. Navigate the shell with the controller. D-pad / left stick moves a visible selection across the experience grid, A activates the selected tile, B goes back. The selection must be visible (a highlight), because a controller gives no touch feedback.
  2. A controller menu: a screen that shows whether a controller is connected, which one (vendor / product name, battery where the platform reports it), and the live state of its buttons and sticks, so an operator at a venue can tell a dead controller from a wrong mapping without a laptop. Same shape as the existing microphone setup / diagnostics views.

Out of scope here: in-stream gameplay input (the vendored Moonlight ControllerSupport already owns that path), haptics, and multi-controller seating.

Constraints: iPadOS 17+, the shell is SwiftUI, the stream is the UIKit Moonlight StreamFrameViewController. The controller must not be claimed exclusively by one layer: whatever drives menu focus has to hand the controller back when a stream starts, and take it back when the stream ends.

Verification: validate.yml must compile, and any pure selection/mapping logic gets a swiftc test step pinned in both validate.yml and release.yml, as MicrophoneGate did. Device check on ipad-head-cederik, which is NOT in SimpleMDM assignment group 2425035, so delivery to it needs its own path.

Sub-issues (2)

open #1148 hydraheadipad: the head heartbeat carries no os_version and no controller state, so a fleet controller fault cannot be diagnosed remotely
open #1147 hydraheadipad: Controller setup cannot diagnose a controller: one enumeration at launch, no way to re-read, and a zero reading reaches no log

Session Context

Venue
mobile-kit