Secure context

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent() constructor in order to set the initial state of the new XRInputSourcesChangeEvent object.


added Read only
An array of zero or more XRInputSource objects, each representing one input device which is newly available to use.
removed Read only
An array of zero or more XRInputSource objects representing the input devices which are no longer available.
session Read only
The XRSession to which the event applies.




Specification Status Comment
WebXR Device API
The definition of 'XRInputSourcesChangeEventInit' in that specification.
Working Draft Initial definition.

Browser compatibility

No compatibility data found for api.XRInputSourcesChangeEventInit.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.