Input device interface. 更多...
#include <IInputDevice.h>
Public 成员函数 | |
| virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar)=0 |
| Exec handler to allow console commands to be passed through for debugging | |
| virtual class IHapticDevice * | GetHapticDevice () |
| If this device supports a haptic interface, implement this, and inherit the IHapticDevice interface | |
| virtual void | SendControllerEvents ()=0 |
| Poll for controller state and send events if needed | |
| virtual void | SetChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value)=0 |
| IForceFeedbackSystem pass through functions | |
| virtual void | SetDeviceProperty (int32 ControllerId, const FInputDeviceProperty *Property) |
| Sets a property for a given controller id. 更多... | |
| virtual void | SetLightColor (int32 ControllerId, FColor Color) |
| Pass though functions for light color | |
| virtual void | SetMessageHandler (const TSharedRef< FGenericApplicationMessageHandler > &InMessageHandler)=0 |
| Set which MessageHandler will get the events from SendControllerEvents. | |
| virtual void | Tick (float DeltaTime)=0 |
| Tick the interface (e.g. 更多... | |
Input device interface.
Useful for plugins/modules to support custom external input devices.
|
inlinevirtual |
Sets a property for a given controller id.
Will be ignored for devices which don't support the property.
| ControllerId | the id of the controller whose property is to be applied |
| Property | Base class pointer to property that will be applied |
|
pure virtual |
Tick the interface (e.g.
check for new controllers)