Skip to content

WP4: the first playable client - #7

Merged
broslife merged 11 commits into
mainfrom
wp4-playable
Nov 1, 2026
Merged

broslife merged 11 commits into
mainfrom
wp4-playable

Conversation

@broslife

Copy link
Copy Markdown
Collaborator

WP4 (docs/plan.md §4): the first playable client. Draft while the tester's rounds run.

So far:

  • The touch screen reaches the host as touch down, move and up, placed on the picture.
  • Each pad's gyro and accelerometer reach its host pad as rich input, in the wire's frame and units. hid's frame is unproven on the console: the stream logs each pad's first sample.
  • The first menu warns when the title runs from the album with an applet's memory (D13).
  • The audio heartbeat logs the host's level in dBFS and audout's volume; each pad's first rumble of a stream is logged.
  • Waking from sleep mid-stream no longer crashes the title (Atmosphère report 01793482713): the panic hook logs before it walks the stack, and the mio leg's waker survives a failed send.

🤖 Generated with Claude Code

broslife and others added 4 commits October 31, 2026 18:32
The first menu says so when the title runs from the album with an applet's memory (plan D13).
The audio heartbeat reports the host's level as peak and RMS dBFS at INFO, with audout's own
volume at open, so a quiet stream tells the host's level from the console's. Each pad's first
rumble of a stream is logged, so a still pad tells "nothing asked" from "asked and not felt".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Pads seam carries motion and the fingers on the screen. hid's six-axis sample turns into
the wire's frame and units (SDL's, rad/s and g) and goes out as rich input whenever it
changes, for every pad whose host pad takes motion; the dial and every release stop the
turning and keep gravity. The screen is a touch screen on the host: fingers land on the
picture through the shared video placement and go out as touch down, move and up, lifted when
the dial opens and when the stream ends.

hid's motion frame and units are unproven on the console: the stream logs each pad's first
sample, and a pad lying still should read accel about [0, 1, 0].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sleeping mid-stream crashed the title on wake (Atmosphère report 01793482713). The loopback
waker's send fails after sleep and tokio aborts on a failed wake; the panic hook walked the
stack before logging, and with no unwind tables the walk aborted first, so the panic never
reached the log. The hook now flushes the message before the walk, and the mio leg treats a
failed send as a wake that reached no one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
broslife and others added 7 commits October 31, 2026 20:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The console's run showed hid's accelerometer reading gravity's pull, [0, 0, -1] g lying
still, which went out upside down; the wire reads the table's push. The dial now names the
touch screen's model (touch passthrough) and its controller-mouse slot turns the pads into
the host's mouse and back, skipping the touchpad step no Switch pad can use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lots

The Statistics slot kept the tier the stream started with while the overlay stepped on; the
dial now reads the overlay's tier each frame. The Controller type slot did nothing: it now
steps the shared order (Automatic, Xbox One, DualSense, DualShock 4) for this stream, and
every pad unplugs from the host and plugs in again as the new kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared order names no Nintendo kind, so a player holding Joy-Cons had no way to ask the host
for a Pro Controller. The Switch's dial now steps Automatic, Joy-Con pair, Switch Pro, then the
shared order. The labels, the Settings list and the shared order are the monorepo's, recorded
in docs/improvements.md; the notes record the accelerometer's sign on the console.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The console's log read 446 controller-type steps in one session, eight to ten for each press,
one a frame. The re-plug dropped each pad's slot, so the next step saw the A still held as a
new press, which picked the next type, until the player let go. The re-plug now keeps the
slots and sends the arrival itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each Controller type step re-plugged the pad on the host, so walking past
two kinds made Windows unplug and plug a pad two times. The slot now steps
alone and the pad is re-plugged once, for the kind the dial closed on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@broslife
broslife marked this pull request as ready for review November 1, 2026 13:19
@broslife
broslife merged commit 692aa91 into main Nov 1, 2026
2 checks passed
@broslife
broslife deleted the wp4-playable branch November 5, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant