Navigation
API > API/Runtime > API/Runtime/Core
Represents a single input device such as a gamepad, keyboard, or mouse.
Has a globally unique identifier that is assigned by the IPlatformInputDeviceMapper
| Name | FInputDeviceId |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h |
| Include Path | #include "Misc/CoreMiscDefines.h" |
Syntax
struct FInputDeviceId
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InternalId | int32 | Raw id, will be allocated by application layer | Misc/CoreMiscDefines.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetId() |
Misc/CoreMiscDefines.h | ||
bool IsValid() |
Sees if this is a valid input device | Misc/CoreMiscDefines.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FInputDeviceId CreateFromInternalId
(
int32 InInternalId |
Explicit function to create from an internal id | Misc/CoreMiscDefines.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FInputDeviceId& Other |
Misc/CoreMiscDefines.h | ||
bool operator==
(
const FInputDeviceId& Other |
Misc/CoreMiscDefines.h | ||
bool operator>
(
const FInputDeviceId& Other |
Misc/CoreMiscDefines.h | ||
bool operator>=
(
const FInputDeviceId& Other |
Misc/CoreMiscDefines.h |