From 8987dfe219b2ac435cbe3876d64078415878c532 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 7 Feb 2024 12:34:21 -0800 Subject: [PATCH] Revert "Allow generic-hand" This reverts commit bc48acc0157152a6f80661fe6ef86349cee129dd. --- index.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 37d1a5a..c722434 100755 --- a/index.bs +++ b/index.bs @@ -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; @@ -137,7 +136,7 @@ Physical Hand Input Sources {#physical-hand} An {{XRInputSource}} is a physical hand input source if it tracks a physical hand. A [=physical hand input source=] supports hand tracking 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.