Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInputDeviceSubsystem
Description
Handler subscribed to FInputDeviceRegistry::OnInputDeviceDescriptorChanged. Routes a descriptor change into SetMostRecentlyUsedHardwareDevice so OnInputHardwareDeviceChanged becomes the single delegate gameplay code needs to subscribe to in order to be notified of device-identity changes (initial connect, descriptor refresh as the platform layer finalizes hardware metadata, etc).
| Name | HandleInputDeviceDescriptorChanged |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/InputDeviceSubsystem.h |
| Include Path | #include "GameFramework/InputDeviceSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameFramework/InputDeviceSubsystem.cpp |
void HandleInputDeviceDescriptorChanged
(
const struct FInputDeviceDescriptor & Descriptor
)