UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInputDeviceId Struct Reference

#include <CoreMiscDefines.h>

Public Member Functions

UE_FORCEINLINE_HINT int32 GetId () const
 
UE_FORCEINLINE_HINT bool IsValid () const
 
UE_FORCEINLINE_HINT bool operator== (const FInputDeviceId &Other) const
 
UE_FORCEINLINE_HINT bool operator!= (const FInputDeviceId &Other) const
 
UE_FORCEINLINE_HINT bool operator< (const FInputDeviceId &Other) const
 
UE_FORCEINLINE_HINT bool operator<= (const FInputDeviceId &Other) const
 
UE_FORCEINLINE_HINT bool operator> (const FInputDeviceId &Other) const
 
UE_FORCEINLINE_HINT bool operator>= (const FInputDeviceId &Other) const
 

Static Public Member Functions

static FInputDeviceId CreateFromInternalId (int32 InInternalId)
 

Friends

UE_FORCEINLINE_HINT friend uint32 GetTypeHash (const FInputDeviceId &InputId)
 

Detailed Description

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

Has a globally unique identifier that is assigned by the IPlatformInputDeviceMapper

Member Function Documentation

◆ CreateFromInternalId()

static FInputDeviceId FInputDeviceId::CreateFromInternalId ( int32  InInternalId)
inlinestatic

Explicit function to create from an internal id

◆ GetId()

UE_FORCEINLINE_HINT int32 FInputDeviceId::GetId ( ) const
inline

◆ IsValid()

UE_FORCEINLINE_HINT bool FInputDeviceId::IsValid ( ) const
inline

Sees if this is a valid input device

◆ operator!=()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator!= ( const FInputDeviceId Other) const
inline

◆ operator<()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator< ( const FInputDeviceId Other) const
inline

◆ operator<=()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator<= ( const FInputDeviceId Other) const
inline

◆ operator==()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator== ( const FInputDeviceId Other) const
inline

◆ operator>()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator> ( const FInputDeviceId Other) const
inline

◆ operator>=()

UE_FORCEINLINE_HINT bool FInputDeviceId::operator>= ( const FInputDeviceId Other) const
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

UE_FORCEINLINE_HINT friend uint32 GetTypeHash ( const FInputDeviceId InputId)
friend

The documentation for this struct was generated from the following file: