Skip to content

Commit bf439b4

Browse files
committed
Remove auxiliary input source and tracker example
1 parent 9881abd commit bf439b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.bs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,9 +1544,7 @@ Similarly, the Valve Index controller is backwards compatible with the HTC Vive
15441544

15451545
Note: {{XRInputSource}}s in an {{XRSession}}'s {{XRSession/inputSources}} array are "live". As such values within them are updated in-place. This means that it doesn't work to save a reference to an {{XRInputSource}}'s attribute on one frame and compare it to the same attribute in a subsequent frame to test for state changes, because they will be the same object. Therefore developers that wish to compare input state from frame to frame should copy the content of the state in question.
15461546

1547-
An [=XR input source=] is a <dfn>primary input source</dfn> if it supports a <dfn>primary action</dfn>. The [=primary action=] is a platform-specific action that, when engaged, produces {{XRSession/selectstart}}, {{XRSession/selectend}}, and {{XRSession/select}} events. Examples of possible [=primary action=]s are pressing a trigger, touchpad, or button, speaking a command, or making a hand gesture. If the platform guidelines define a recommended primary input then it should be used as the [=primary action=], otherwise the user agent is free to select one. The device MUST support at least one [=primary input source=].
1548-
1549-
An [=XR input source=] is a <dfn>auxiliary input source</dfn> if it does not support a [=primary action=]. Examples include motion trackers without buttons, or secondary screen touches on a multitouch device.
1547+
Each [=XR input source=] MUST define a <dfn>primary action</dfn>. The [=primary action=] is a platform-specific action that, when engaged, produces {{XRSession/selectstart}}, {{XRSession/selectend}}, and {{XRSession/select}} events. Examples of possible [=primary action=]s are pressing a trigger, touchpad, or button, speaking a command, or making a hand gesture. If the platform guidelines define a recommended primary input then it should be used as the [=primary action=], otherwise the user agent is free to select one.
15501548

15511549
<div class="algorithm" data-algorithm="on-input-start">
15521550

0 commit comments

Comments
 (0)