OVRControllerGamepadPC Class
Specializes OVRControllerBase specifically for PC-based gamepad controls.
Overrides the configuration methods of the base type to populate the various input maps (OVRControllerBase.buttonMap, OVRControllerBase.touchMap, etc.) with the appropriate RawButton mappings for this control sceme. These mappings can be modified after construction to customize controls.
OVRControllerGamepadPC ( )
Basic constructor.
Initializes OVRControllerBase.controllerType to Controller.Gamepad, otherwise initializes all other OVRControllerBase values to their defaults.Note that, because the OVRControllerBase constructor invokes all the virtual configuration methods (ConfigureButtonMap, ConfigureTouchMap, etc.), the default values to which the various input maps will be initialized are the defaults for this type, not the base type.
virtual override void ConfigureButtonMap ( )
Configures the OVRControllerBase.buttonMap to contain the appropriate default mappings for this control scheme.
This method is invoked automatically during initialization and need not be separately invoked except to restore the defaults from a modified state.
virtual override void ConfigureTouchMap ( )
Configures the OVRControllerBase.touchMap to contain the appropriate default mappings for this control scheme.
This method is invoked automatically during initialization and need not be separately invoked except to restore the defaults from a modified state.
virtual override void ConfigureNearTouchMap ( )
Configures the OVRControllerBase.nearTouchMap to contain the appropriate default mappings for this control scheme.
This method is invoked automatically during initialization and need not be separately invoked except to restore the defaults from a modified state.
virtual override void ConfigureAxis1DMap ( )
Configures the OVRControllerBase.axis1DMap to contain the appropriate default mappings for this control scheme.
This method is invoked automatically during initialization and need not be separately invoked except to restore the defaults from a modified state.
virtual override void ConfigureAxis2DMap ( )
Configures the OVRControllerBase.axis2DMap to contain the appropriate default mappings for this control scheme.
This method is invoked automatically during initialization and need not be separately invoked except to restore the defaults from a modified state.