Click or drag to resize

ControllerSetSelector Properties

The ControllerSetSelector type exposes the following members.

Properties
  NameDescription
Public propertycontrollerId
The id of the Controller this entry applies to. This is only used if type is set to SessionControllerInstance. This targets all a single, specific Controller instance that is only valid for the current session.. This value can be obtained from deviceInstanceGuid.
Public propertycontrollerTemplateTypeGuid
The Controller Template type this entry applies to. This is only used if type is set to ControllerTemplateType. This targets all Controllers that match the specified Controller Template type. This value can be obtained from typeGuid or the concrete static class of the Controller Template such as GamepadTemplate.typeGuid.
Public propertycontrollerType
The Controller Type the entry applies to. This is required for all Device Selector Type modes except All.
Public propertydeviceInstanceGuid
The device instance guid of the Controller this entry applies to. This is only used if type is set to PersistentControllerInstance. This targets all a single, specific Controller instance that may be valid across sessions. This value can be obtained from deviceInstanceGuid.
Public propertyhardwareIdentifier
The hardware identifier of the Controller this entry applies to. This is only used if type is set to HardwareType. This targets all Controllers that match a specific unrecognized hardware type such as for a Joystick that has no controller definition built into Rewired. You should set both hardwareTypeGuid and hardwareIdentifier with the values supplied by hardwareTypeGuid and hardwareIdentifier so both recognized and unrecognized Joysticks will be handled. This value can be obtained from hardwareIdentifier. If no hardwareTypeGuid is specified and this value is blank, it will match all Unknown Controllers.
Public propertyhardwareTypeGuid
The hardware type Guid of the Controller this entry applies to. This is only used if type is set to HardwareType. This targets all Controllers that match a specific recognized hardware type such as all Xbox 360 controllers. You should set both hardwareTypeGuid and hardwareIdentifier with the values supplied by hardwareTypeGuid and hardwareIdentifier so both recognized and unrecognized Controllers will be handled. This value can be obtained from hardwareTypeGuid.
Public propertytype
Determines selection method used to find the devices the entry applies to. Depending on the value chosen, one or more other properties must be set. The required fields for each mode are as follows: All: None. ControllerType: controllerType. HardwareType: controllerType, hardwareTypeGuid, hardwareIdentifier. ControllerTemplateType: controllerType, controllerTemplateTypeGuid. PersistentControllerInstance: controllerType, deviceInstanceGuid. SessionControllerInstance: controllerType, controllerId.
Top
See Also