Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/FInputDeviceRegistry
Description
Register or update the descriptor for a device. Called by FInputDeviceScope's constructor and may be called directly at device-connect time once all call sites have migrated away from FInputDeviceScope.
| Name | RegisterDevice |
| 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 bool RegisterDevice
(
const FInputDeviceDescriptor & Descriptor
)
True if the descriptor was registered successfully, false if the descriptor's HardwareDeviceHandle is not valid (INPUTDEVICEID_NONE).