Navigation
API > API/Runtime > API/Runtime/InputDevice > API/Runtime/InputDevice/IInputDeviceModule
Description
Calls the normal "CreateInputDevice" logic only if this input device module is preferred.
Returns null if this device is not preferred
| Name | CreateInputDeviceIfPreferred |
| Type | function |
| Header File | /Engine/Source/Runtime/InputDevice/Public/IInputDeviceModule.h |
| Include Path | #include "IInputDeviceModule.h" |
TSharedPtr< IInputDevice > CreateInputDeviceIfPreferred
(
const TSharedRef< FGenericApplicationMessageHandler > & InMessageHandler
)