Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/FInputDeviceRegistry
Description
Look up the descriptor for a device by its FInputDeviceId. Returns an empty optional if the device has not been registered yet.
If a simulated descriptor has been set for this device (see SetSimulatedDescriptor), that takes priority over the real descriptor. Safe to call from any thread.
| Name | FindDescriptor |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/InputDeviceRegistry.h |
| Include Path | #include "GenericPlatform/InputDeviceRegistry.h" |
| Source | /Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/InputDeviceRegistry.cpp |
static TOptional < FInputDeviceDescriptor > FindDescriptor
(
const FInputDeviceId DeviceId
)