Click or drag to resize

UnityInputSystemSettings Class

Settings for Unity Input System.
Inheritance Hierarchy
SystemObject
  Rewired.Platforms.UnityInputSystemUnityInputSystemSettings

Namespace: Rewired.Platforms.UnityInputSystem
Assembly: Rewired.UnityInputSystem (in Rewired.UnityInputSystem.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public sealed class UnityInputSystemSettings

The UnityInputSystemSettings type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberallowedJoystickInputDeviceTypes 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.
Public propertyStatic memberdisallowedJoystickInputDevices 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.
Public propertyStatic memberdisallowedJoystickInputDeviceTypes 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