Re: [w3c/gamepad] Rewrite the spec with references to the Model section (PR #222)

@nondebug commented on this pull request.



> +        [=unavailable=], and detecting when input controls have updated input
+        values.
+      </p>
+      <p>
+        A [=gamepad=] has a <dfn>gamepad identifier string</dfn>, a
+        human-readable string that identifies the brand or style of
+        [=gamepad=]. The content is decided by the [=user agent=].
+      </p>
+      <p>
+        A [=gamepad=] may be a physical device. If so, it has an <dfn>input
+        control layout</dfn> that describes the position, orientation and type
+        of each input control on the physical device. The [=user agent=] is
+        responsible for recognizing when an [=input control layout=]
+        <dfn data-lt="corresponds with">corresponds with a standard
+        layout</dfn>, meaning the relative positions and orientations of its
+        input controls are close enough to the standard layout that a user can

I think omitting "so" is correct but I'm not satisfied with this definition and I think it should be rewritten to be clearer.

Maybe split it into two sentences:

The user agent is responsible for recognizing when an input control layout corresponds with a standard layout, meaning gamepads with this layout can be used interchangeably with other gamepads with layouts that correspond with the same standard layout. The user agent SHOULD consider a layout to correspond with a standard layout if its input controls have approximately the same relative positions and orientations as input controls described in the standard layout.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/222#discussion_r2029542164
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/222/review/2744263965@github.com>

Received on Friday, 4 April 2025 23:21:35 UTC