Navigation
Unreal Engine C++ API Reference > Runtime > InputDevice
Inheritance Hierarchy
- IInputDevice
- IPixelStreamingInputHandler
- IRawInput
References
Module | InputDevice |
Header | /Engine/Source/Runtime/InputDevice/Public/IInputDevice.h |
Include | #include "IInputDevice.h" |
Syntax
class IInputDevice
Remarks
Input device interface. Useful for plugins/modules to support custom external input devices.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | Exec
(
UWorld* InWorld, |
Exec handler to allow console commands to be passed through for debugging |
![]() ![]() |
IHapticDevice * | If this device supports a haptic interface, implement this, and inherit the IHapticDevice interface | |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | ResetLightColor
(
int32 ControllerId |
|
![]() |
void | Poll for controller state and send events if needed | |
![]() |
void | SetChannelValue
(
int32 ControllerId, |
Force Feedback pass through functions |
![]() |
void | SetChannelValues
(
int32 ControllerId, |
|
![]() ![]() |
void | SetDeviceProperty
(
int32 ControllerId, |
Sets a property for a given controller id. |
![]() ![]() |
void | SetLightColor
(
int32 ControllerId, |
Pass though functions for light color |
![]() |
void | SetMessageHandler
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler |
Set which MessageHandler will get the events from SendControllerEvents. |
![]() ![]() |
bool | SupportsForceFeedback
(
int32 ControllerId |
|
![]() |
void | Tick
(
float DeltaTime |
Tick the interface (e.g. check for new controllers) |