Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > IPlatformInputDeviceMapper
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformInputDeviceMapper.h |
Include | #include "GenericPlatform/GenericPlatformInputDeviceMapper.h" |
Source | /Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformInputDeviceMapper.cpp |
virtual int32 GetAllInputDevicesForUser
&40;
const FPlatformUserId UserId,
TArray< FInputDeviceId > & OutInputDevices
&41; const
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. |