Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UInputDeviceLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/InputDeviceLibrary.h |
| Include | #include "GameFramework/InputDeviceLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InputDeviceLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="PlatformInputDevice")
static FInputDeviceId GetPrimaryInputDeviceForUser
(
FPlatformUserId UserId
)
Remarks
Returns the primary input device used by a specific player, or INPUTDEVICEID_NONE if invalid