UnityInputSystemSettings Properties |
The UnityInputSystemSettings type exposes the following members.
Properties| | Name | Description |
|---|
  | allowedJoystickInputDeviceTypes |
Read-only list of input device types that will appear in the Joysticks list in Rewired.
If a Unity Input System Input Device matches the type or inherits from the type, it will be included.
To modify the list, replace it by setting this value with a new list.
allowedJoystickInputDeviceTypes, disallowedJoystickInputDeviceTypes, and disallowedJoystickInputDevices
are used to determine which devices are allowed to appear in the joysticks list.
An allow/disallow rule that targets a more derived type has higher priority than over a rule that targets a less derived type.
For example, if Gamepad is disallowed, but DualShockGamepad (which is a subclass of Gamepad) is allowed,
a device of type DualShockGamepad or a subclass of it will be allowed, while other Gamepad devices will be disallowed.
If TrackedDevice is allowed, but XRHMD (which is a subclass of TrackedDevice) is disallowed, a device of type XRHMD or a subclass of it
will be disallowed, while other TrackedDevice devices will be allowed.
|
  | disallowedJoystickInputDevices |
Read-only list of input devices that will not appear in the Joysticks list in Rewired.
This can be used to exclude specific devices rather than entire types.
The UnityInputSystemSettingsDeviceIdentifier provides device matching critera.
To modify the list, replace it by setting this value with a new list.
allowedJoystickInputDeviceTypes, disallowedJoystickInputDeviceTypes, and disallowedJoystickInputDevices
are used to determine which devices are allowed to appear in the joysticks list.
|
  | disallowedJoystickInputDeviceTypes |
Read-only list of input device types that will not appear in the Joysticks list in Rewired.
If a Unity Input System Input Device matches the type or inherits from the type, it will be excluded.
To modify the list, replace it by setting this value with a new list.
allowedJoystickInputDeviceTypes, disallowedJoystickInputDeviceTypes, and disallowedJoystickInputDevices
are used to determine which devices are allowed to appear in the joysticks list.
An allow/disallow rule that targets a more derived type has higher priority than over a rule that targets a less derived type.
For example, if Gamepad is disallowed, but DualShockGamepad (which is a subclass of Gamepad) is allowed,
a device of type DualShockGamepad or a subclass of it will be allowed, while other Gamepad devices will be disallowed.
If TrackedDevice is allowed, but XRHMD (which is a subclass of TrackedDevice) is disallowed, a device of type XRHMD or a subclass of it
will be disallowed, while other TrackedDevice devices will be allowed.
|
Top
See Also