unreal.InputDeviceId

class unreal.InputDeviceId

Bases: StructBase

Represents a single input device such as a gamepad, keyboard, or mouse.

Has a globally unique identifier.

Opaque struct for the FInputDeviceId struct defined in CoreMiscDefines.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • internal_id (int32): [Read-Only]

NONE: InputDeviceId

Static invalid input device

Type:

(InputDeviceId)

__eq__(other: object) bool

Overloads:

  • InputDeviceId Returns true if InputDeviceId A is equal to InputDeviceId B (A == B)

__ne__(other: object) bool

Overloads:

  • InputDeviceId Returns true if InputDeviceId A is not equal to InputDeviceId B (A != B)

equals(b) bool

Returns true if InputDeviceId A is equal to InputDeviceId B (A == B)

Parameters:

b (InputDeviceId) –

Return type:

bool

not_equal(b) bool

Returns true if InputDeviceId A is not equal to InputDeviceId B (A != B)

Parameters:

b (InputDeviceId) –

Return type:

bool