Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IPlatformInputDeviceMapper
Description
Remap a FPlatformUserId to the legacy platform LocalUserIndex (often the same as ControllerId). This is useful in cases where the input device id is not needed.
Derived Overrides
| Name | GetUserIndexForPlatformUser |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformInputDeviceMapper.h |
| Include Path | #include "GenericPlatform/GenericPlatformInputDeviceMapper.h" |
int32 GetUserIndexForPlatformUser
(
FPlatformUserId UserId
)
A valid platform user index, or INDEX_NONE
Parameters
| Name | Remarks |
|---|---|
| UserId | The platform user that should be converted |