Click or drag to resize

UnityInputSystemSettingsDeviceIdentifier Structure

Used to identify a specific input device for exclusion. All values are optional, but you must provide at least one for matching. Any values provided will become required for a match to occur.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Rewired.Platforms.UnityInputSystemUnityInputSystemSettingsDeviceIdentifier

Namespace: Rewired.Platforms.UnityInputSystem
Assembly: Rewired.UnityInputSystem (in Rewired.UnityInputSystem.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public struct DeviceIdentifier

The UnityInputSystemSettingsDeviceIdentifier type exposes the following members.

Methods
 NameDescription
Public methodMatches Determines if the input device matches the device identifier.
Top
Fields
 NameDescription
Public fielddeviceClass Device class string. This is obtained from UnityEngine.InputSystem.Layouts.InputDeviceDescription.deviceClass. Optional.
Public fielddisplayName Display name string. This is obtained from UnityEngine.InputSystem.InputDevice.displayName. Optional.
Public fieldmanufacturer Manufacturer string. This is obtained from UnityEngine.InputSystem.Layouts.InputDeviceDescription.manufacturer. Optional.
Public fieldproductId HID vendor id. This is obtained from UnityEngine.InputSystem.Layouts.InputDeviceDescription.capabilities. This values is not available on all platforms. Optional.
Public fieldproductName Product name string. This is obtained from UnityEngine.InputSystem.Layouts.InputDeviceDescription.product. Optional.
Public fieldtype Match by class type. See typeMatchMode for options. Optional.
Public fieldtypeMatchMode Determines how type matching will be performed.
Public fielduseRegex Determines if regex will be used when evaluating string matches. This applies to all strings.
Public fieldvendorId HID vendor id. This is obtained from UnityEngine.InputSystem.Layouts.InputDeviceDescription.capabilities. This values is not available on all platforms. Optional.
Top
See Also