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 |
static int32 GetAllInputDevicesForUser
&40;
const FPlatformUserId UserId,
TArray< FInputDeviceId > & OutInputDevices
&41;
Remarks
Populates the OutInputDevices array with any InputDeviceID's that are mapped to the given platform user The number of mapped devices, INDEX_NONE if the user was not found.
Parameters
| Name | Description |
|---|---|
| UserId | The Platform User to gather the input devices of. |
| OutInputDevices | Array of input device ID's that will be populated with the mapped devices. |