object.allowsRotation

Type Boolean
Object InputDevice
Revision 2017.3151
Keywords device, input, MFi, allowsRotation
See also object.driver
object.MFiProfile
MFi Controllers (guide)

Overview

This value is specific to the Apple TV Remote (object.MFiProfile is "microGamepad").

Game controllers that implement the "microGamepad" profile can be rotated between landscape and portrait orientation. The default value for this property is false which means that the values of the D-pad are always determined based on the controller's portrait orientation. If this property value is set to true, the D-pad values are calculated based on the device's current orientation (landscape or portrait).