Navigation
API > API/Runtime > API/Runtime/InputDevice > API/Runtime/InputDevice/IInputDeviceModule
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< class IInputDevice > CreateInputDevice
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler |
Attempts to create a new input device with the given message handler. | IInputDeviceModule.h | |
virtual TSharedPtr< class IInputDevice > CreateInputDevice
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler, |
Attempts to create a new input device interface with the specified input device creation parameters. | IInputDeviceModule.h |
CreateInputDevice(const TSharedRef< FGenericApplicationMessageHandler > &)
Description
Attempts to create a new input device with the given message handler. This version will eventually be deprecated and users should migrate to the new version with an additional parameters struct.
| Name | CreateInputDevice |
| Type | function |
| Header File | /Engine/Source/Runtime/InputDevice/Public/IInputDeviceModule.h |
| Include Path | #include "IInputDeviceModule.h" |
TSharedPtr< class IInputDevice > CreateInputDevice
(
const TSharedRef< FGenericApplicationMessageHandler > & InMessageHandler
)
Interface to the new input device, if we were able to successfully create one
CreateInputDevice(const TSharedRef< FGenericApplicationMessageHandler > &, FInputDeviceCreationParameters)
Description
Attempts to create a new input device interface with the specified input device creation parameters. This override is for advanced use cases where users would like to create devices that are not a part of the input system.
| Name | CreateInputDevice |
| Type | function |
| Header File | /Engine/Source/Runtime/InputDevice/Public/IInputDeviceModule.h |
| Include Path | #include "IInputDeviceModule.h" |
virtual TSharedPtr< class IInputDevice > CreateInputDevice
(
const TSharedRef< FGenericApplicationMessageHandler > & InMessageHandler,
FInputDeviceCreationParameters InParams
)
Interface to the new input device, if we were able to successfully create one