Navigation
API > API/Plugins > API/Plugins/GameInputBase
Inheritance Hierarchy
- IInputDevice
- IGameInputDeviceInterface
References
| Module | GameInputBase |
| Header | /Engine/Plugins/Runtime/GameInput/Source/GameInputBase/Public/IGameInputDeviceInterface.h |
| Include | #include "IGameInputDeviceInterface.h" |
Syntax
class IGameInputDeviceInterface : public IInputDevice
Remarks
IInputDevice interface for the Game Input library. This is a base class that is intended to be implemented on each platform that supports it (Xbox and PC).
This stores all state about every unique Human Interface Device that the GameInput library detects.
Any implementors of this interface should be Created in an IInputDevice module's CreateInputDevice function (IInputDeviceModule::CreateInputDevice), and have it's Initialize function called
Constructors
| Type | Name | Description | |
|---|---|---|---|
IGameInputDeviceInterface
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize () |
Init function that should be called post-construction of this object. |
Overridden from IInputDevice
| Type | Name | Description | |
|---|---|---|---|
| bool | Exec
(
UWorld* InWorld, |
Exec handler to allow console commands to be passed through for debugging | |
| bool | |||
| void | Poll for controller state and send events if needed | ||
| void | SetChannelValue
(
int32 ControllerId, |
Force Feedback pass through functions | |
| void | SetChannelValues
(
int32 ControllerId, |
||
| void | SetMessageHandler
(
const TSharedRef< FGenericApplicationMessageHandler >& InMessageHandler |
Set which MessageHandler will get the events from SendControllerEvents. | |
| void | Tick
(
float DeltaTime |
Tick the interface (e.g. check for new controllers) |