the object to attach the controls to (usually your Three.js camera)
options for DeviceOrientationControls: currently accepts smoothingFactor (< 1), enablePermissionDialog, orientationChangeThreshold (radians)
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Initialise device orientation controls. Should be called after you have created the DeviceOrientationControls object and set up the deviceorientationgranted and deviceorientationerror event handlers.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Create an instance of DeviceOrientationControls.