Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/FInputDeviceRegistry
Description
Explicitly remove the descriptor for a device from the registry. The registry is intentionally persistent across connect/disconnect cycles so that hardware metadata remains queryable for disconnected devices. Only call this when the device ID itself is being permanently retired (e.g., device ID recycled by the mapper, or engine shutdown cleanup). No-op if the device was never registered. Safe to call from any thread.
| Name | RemoveDevice |
| 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 void RemoveDevice
(
const FInputDeviceId DeviceId
)