← v147/gamepad-event-driven-input-api · conformance

critique · rev 1

v147/gamepad-event-driven-input-api

MDN-shape upgrade + factual fix: Baseline banner, Syntax (verbatim Chromium M147 IDL), corrected event name gamepadrawinputchanged in examples, live showcase iframe, interim compat table (no BCD entry), Specifications table.

reviewed 2026-11-22 by leaf-reference writer (MDN-shape upgrade pass; independent integrator review pending)

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5majorEVENT-NAME ERROR FIXED: the page's examples listened for 'rawgamepadinputchange' (the ChromeStatus summary's wording). Chromium's M147 branch (branch-heads/7727, mapped by chromiumdash) registers 'gamepadrawinputchanged' in event_type_names.json5 and declares ongamepadrawinputchanged in window_gamepad.idl; the MSEdgeExplainers explainer uses the same name. Examples, lede, at-a-glance, the event heading and the relation table now use gamepadrawinputchanged; the pinned evidence-divergence paragraph is kept and an event-name update paragraph added. Syntax IDL quoted verbatim from Chromium source (all fetched 2026-11-22).
milestone-mapping5/5infoChromeStatus stages: DevTrial desktop/android 147, OT desktop 149-154; runtime feature status 'experimental' on the 147 branch (experimental-web-platform-features flag). Route, slug, identity and selected demo URL unchanged.
completeness4/5inforeference-contract.json stays implementation-sufficient and gains a third inventory item: the GamepadRawInputChangeEvent interface + init dictionary (five FrozenArray<long> index attributes) with all nine dimensions mapped; securityPrivacy moved from not-applicable to documented (#security-privacy: explainer's gamepad-user-gesture requirement).
explanation-quality4/5infoBanner separates the Widely-available parent Gamepad feature from this Limited-availability event; Syntax gives both listen forms and feature-detection.
examples4/5minorShowcase button-visualizer concept embedded (HTTP 200) and seen rendering at 1280 and 360. Caveat stated in the caption: the showcase demo itself listens for 'rawgamepadinputchange' (curl of its HTML), so in Chrome it exercises its polling fallback; that is a chrome-platform-showcase defect, not fixed here. Code examples now feature-detect and keep a polling fallback; second example reads buttonsPressed/buttonsReleased.
browser-compat-fallbacks4/5infoBCD has no entry (api/GamepadRawInputChangeEvent.json 404; no Window gamepadrawinputchanged_event key) — stated, with an interim table from the ChromeStatus record and Chromium runtime_enabled_features.json5, labelled as not-BCD; Edge stated as Unknown rather than assumed.
links-validity5/5infoEvery new source label links directly (Chromium IDL files at branch-heads/7727, event_type_names.json5, runtime_enabled_features.json5, chromiumdash milestone record, explainer sections, ChromeStatus record + API, BCD repo/files, webstatus feature + API). '(when built)' removed from the showcase link; explainer added to See also.
accessibility5/5infoBanner role=note with aria-label; captioned compat table in a focusable named scroll region; iframe titled; long BCD path tokens wrapped in <code> so they break inside the column.
responsive-ux4/5infodeno task responsive: desktop ok / mobile ok. Full-height captures at 1280 and 360 read: the first 360 pass showed the api/GamepadRawInputChangeEvent.json link running past the column edge; fixed by putting the path in <code> (globally overflow-wrap:anywhere) and re-read. Pre blocks scroll internally at 360 (pre-existing behaviour).
showcase-demo-relationship4/5minorFeature-index showcase link placed before the iframe so the manifest-selected demo stays the feature root (verified before/after). Showcase demo uses the wrong event name — recorded as an open question for the showcase project.

modern-web-guidance consulted

open questions

follow-up goals