- From: Maksim Sadym <notifications@github.com>
- Date: Mon, 22 Sep 2025 04:12:22 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/gamepad/pull/224/review/3252007158@github.com>
@sadym-chromium commented on this pull request. > + <section> + <h3> + Input values + </h3> + <p> + Each input control has one or more associated [=input values=], which are numerical values that represent the current state of the control. + [=Input values=] can update at any time. + The [=user agent=] is responsible for detecting when [=input values=] have updated and SHOULD try to minimize the delay between the update and when the updated values are read. + </p> + <p> + Reading an [=input value=] returns its <dfn>logical value</dfn>, an unscaled numerical representation of the current state. + An [=input value=] also has a <dfn>logical minimum</dfn> and <dfn>logical maximum</dfn> which define the minimum and maximum in-bounds [=logical values=]. + </p> + <p> + An [=input value=] may have an associated <dfn>HID usage identifier</dfn>, a 32-bit value that identifies the type of data represented by the input value. + A HID usage does not precisely describe the [=input control layout=], but by convention many [=gamepads=] with similar layouts use similar usages. > by convention many [=gamepads=] with similar layouts use similar usages It would be great to a resource with the list of conventional HID usage identifiers. Even if it is not strictly standardizes, it would be helpful to have such a list for reference. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/pull/224#pullrequestreview-3252007158 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/pull/224/review/3252007158@github.com>
Received on Monday, 22 September 2025 11:12:25 UTC