GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for XRInputSourceEvent.

Developer library 6

XRInputSourceEvent

WebXR Device API The [WebXR Device API](/docs/Web/API/WebXR_Device_API)'s **`XRInputSourceEvent`** interface describes an event which has occurred on a WebXR user input device such as a hand controller, gaze tracking system, or motion tracking system. More specifically, they represent a change in the state of an XRInputSource. To learn more about handling inputs in a WebXR project, see the article [Inputs and inpu

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRInputSourceEvent

XRInputSourceEvent: XRInputSourceEvent() constructor

WebXR Device API The **`XRInputSourceEvent()`** constructor creates and returns a new XRInputSourceEvent object describing an event (state change) which has occurred on a WebXR user input device represented by an XRInputSource. ## Syntax ```js-nolint new XRInputSourceEvent(type, options) ``` ### Parameters - `type` - : A string with the name of the event. It is case-sensitive and browsers set it to `select

XRInputSourceEvent: frame property

WebXR Device API The read-only XRInputSourceEvent property **`frame`** specifies an XRFrame object representing the event frame during which a [WebXR](/docs/Web/API/WebXR_Device_API) user input occurred. This may thus be an event which occurred in the past rather than a current or impending event. ## Value An XRFrame indicating the event frame at which the user input event described by the object took place. ## U

XRInputSourceEvent: inputSource property

WebXR Device API The XRInputSourceEvent interface's read-only **`inputSource`** property specifies the XRInputSource which generated the input event. This information lets you handle the event appropriately given the particulars of the user input device being manipulated. ## Value An XRInputSource object identifying the source of the user input event. This event indicates an action the user has taken using a WebXR

XRSession

hen the list of active XR input sources has changed. Also available through the `oninputsourceschange` event handler property. - select - : An event of type XRInputSourceEvent which is sent to the session when one of the session's input sources has successfully completed a [primary action](/docs/Web/API/WebXR_Device_API/Inputs#primary_action). This generally corresponds to the user pressing a trigger, touchpad, or

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRSession

XRSession: select event

property](/docs/Web/API/Document_Object_Model/Events#using_onevent_properties) of the interface: ```js-nolint onselect = (event) => { } ``` ## Event type An XRInputSourceEvent. Inherits from Event. XRInputSourceEvent ## Description ### Trigger Triggered when a user presses triggers or buttons, taps a touchpad, speaks a command or performs a recognizable gesture when using a video tracking system or handheld co

JSON results · Services directory