Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IPlatformInputDeviceMapper
Description
Maps the given Input Device to the given userID. This will broadcast the OnInputDeviceConnectionChange delegate. This should be called by the platform's implementation.
| Name | Internal_MapInputDeviceToUser |
| 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_MapInputDeviceToUser
(
FInputDeviceId DeviceId,
FPlatformUserId UserId,
EInputDeviceConnectionState ConnectionState
)
True if the input device was successfully mapped
Parameters
| Name | Remarks |
|---|---|
| DeviceId | The device id to map |
| UserId | The Platform User that owns the given device |
| ConnectionState | The connection state of the device |