VirtualNearTouchMap Class
Characterizes the mapping between RawNearTouch data read from physical inputs and how that data should be intereted as buttons depending on specific control schemes.
OVRControllerBase instances each contain one instance of this type, the mappings within which are overridden by the ConfigureNearTouchMap implementation of the descendant type. The mappings within can also be overwritten after initialization to enable customized input mapping (such as by the user from a settings screen).
Specifies the mapping of NearTouch.None, meaning an observed input of NearTouch.None will be remapped by ToRawMask(NearTouch) to the value assigned here.
Specifies the mapping of NearTouch.PrimaryIndexTrigger, meaning an observed input of NearTouch.PrimaryIndexTrigger will be remapped by ToRawMask(NearTouch) to the value assigned here.
Specifies the mapping of NearTouch.PrimaryThumbButtons, meaning an observed input of NearTouch.PrimaryThumbButtons will be remapped by ToRawMask(NearTouch) to the value assigned here.
Specifies the mapping of NearTouch.SecondaryIndexTrigger, meaning an observed input of NearTouch.SecondaryIndexTrigger will be remapped by ToRawMask(NearTouch) to the value assigned here.
Specifies the mapping of NearTouch.SecondaryThumbButtons, meaning an observed input of NearTouch.SecondaryThumbButtons will be remapped by ToRawMask(NearTouch) to the value assigned here.
Remaps a NearTouch bit mask to a new RawNearTouch bit mask based on the mappings contained in this instance.
This allows provided input to be "reinterpreted" according to a specificied input mapping for a given control scheme.
ParametersvirtualMaskThe original bit mask to be reinterpreted
ReturnsThe new RawNearTouch remapping of virtualMask