Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IPlatformInputDeviceMapper
Description
Set the connection state of a given Input Device to something new. This will broadcast the OnInputDeviceConnectionChange delegate. This should be called by the platform's implementation.
| Name | Internal_SetInputDeviceConnectionState |
| 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_SetInputDeviceConnectionState
(
FInputDeviceId DeviceId,
EInputDeviceConnectionState NewState
)
True if the connection state was set successfully
Parameters
| Name | Remarks |
|---|---|
| DeviceId | The device id that has had a connection change |
| NewState | The new connection state of the given device |