Skip to content

Commit

Permalink
Revert "Allow generic-hand"
Browse files Browse the repository at this point in the history
This reverts commit bc48acc.
  • Loading branch information
Manishearth committed Feb 7, 2024
1 parent 16b0371 commit 8987dfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ spec: webxr-1;
type: dfn; text: input profile name; for: XRInputSource
type: dfn; text: primary action; for: /
type: dfn; text: primary squeeze action; for: /
type: dfn; text: primary input source; for: /
spec:infra; type:dfn; text:list
spec:webxr-ar-module-1; type:enum-value; text:"immersive-ar"
spec:webidl;
Expand Down Expand Up @@ -137,7 +136,7 @@ Physical Hand Input Sources {#physical-hand}

An {{XRInputSource}} is a <dfn>physical hand input source</dfn> if it tracks a physical hand. A [=physical hand input source=] <dfn>supports hand tracking</dfn> if it supports reporting the poses of one or more [=skeleton joints=] defined in this specification.

[=Physical hand input sources=] MUST include the [=XRInputSource/input profile name=] of either "generic-hand" or "generic-hand-select" in their {{XRInputSource/profiles}}. "generic-hand-select" MUST be included if the input source is a [=primary input source=].
[=Physical hand input sources=] MUST include the [=XRInputSource/input profile name=] of "generic-hand-select" in their {{XRInputSource/profiles}}.

For many [=physical hand input sources=], there can be overlap between the gestures used for the [=primary action=] and the squeeze action. For example, a pinch gesture may indicate both a "select" and "squeeze" event, depending on whether you are interacting with nearby or far away objects. Since content may assume that these are independent events, user agents MAY, instead of surfacing the squeeze action as the [=primary squeeze action=], surface it as an additional "grasp button", using an input profile derived from the "generic-hand-select-grasp" profile.

Expand Down

0 comments on commit 8987dfe

Please sign in to comment.