Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IPlatformInputDeviceMapper
Description
Change the user mapping of the given input device from an old user to a new one. This will broadcast the OnInputDevicePairingChange delegate. Use this when you know that an input device is already mapped, but it has changed platform users This should be called by the platform's implementation.
| Name | Internal_ChangeInputDeviceUserMapping |
| 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 bool Internal_ChangeInputDeviceUserMapping
(
FInputDeviceId DeviceId,
FPlatformUserId NewUserId,
FPlatformUserId OldUserId
)
True if the device was successfully remapped
Parameters
| Name | Remarks |
|---|---|
| DeviceId | The input device to change the owner on |
| NewUserId | The new platform user that this input device should be mapped to |
| OldUserId | The old platform user that this input device is currently mapped to |