Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/FGenericPlatformInputDeviceMappe-
Description
Remap the legacy platform LocalUserIndex (often the same as ControllerId) to a FPlatformUserId. This is useful in cases where the input device id is not needed.
Virtual Inheritance
- IPlatformInputDeviceMapper::GetPlatformUserForUserIndex → FGenericPlatformInputDeviceMapper::GetPlatformUserForUserIndex
| Name | GetPlatformUserForUserIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformInputDeviceMapper.h |
| Include Path | #include "GenericPlatform/GenericPlatformInputDeviceMapper.h" |
| Source | /Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformInputDeviceMapper.cpp |
virtual FPlatformUserId GetPlatformUserForUserIndex
(
int32 LocalUserIndex
)
A platform-allocated user id, or PLATFORMUSERID_NONE
Parameters
| Name | Remarks |
|---|---|
| LocalUserIndex | A platform user index where 0 should always be a valid user |