unreal.HardwareDeviceIdentifier

class unreal.HardwareDeviceIdentifier(input_class_name: Name = 'None', hardware_device_identifier: Name = 'None', primary_device_type: HardwareDevicePrimaryType = Ellipsis, supported_features_mask: int = 0)

Bases: StructBase

An identifier that can be used to determine what input devices are available based on the FInputDeviceScope. These mappings should match a FInputDeviceScope that is used by an IInputDevice

C++ Source:

  • Module: Engine

  • File: InputSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hardware_device_identifier (Name): [Read-Write] The name of this hardware device. This should correspond with a FInputDeviceScope that is used by an IInputDevice

  • input_class_name (Name): [Read-Write] The name of the Input Class that uses this hardware device. This should correspond with a FInputDeviceScope that is used by an IInputDevice

  • primary_device_type (HardwareDevicePrimaryType): [Read-Write] The generic type that this hardware identifies as. This can be used to easily determine behaviors

  • supported_features_mask (int32): [Read-Write] Flags that represent this hardware device’s traits

property hardware_device_identifier: Name

[Read-Only] The name of this hardware device. This should correspond with a FInputDeviceScope that is used by an IInputDevice

Type:

(Name)

property input_class_name: Name

[Read-Only] The name of the Input Class that uses this hardware device. This should correspond with a FInputDeviceScope that is used by an IInputDevice

Type:

(Name)

property primary_device_type: HardwareDevicePrimaryType

[Read-Only] The generic type that this hardware identifies as. This can be used to easily determine behaviors

Type:

(HardwareDevicePrimaryType)

property supported_features_mask: int

[Read-Only] Flags that represent this hardware device’s traits

Type:

(int32)