Introduction

This plugin provides functions for using DirectX DirectInput Devices within Unreal Engine 4 and allows you to play Force Feedback effects on supported devices.

Functions

Generic Functions

Get Devices Returns an array containing FDeviceInfo structures about all connected DirectInput Devices
Get Device Info Returns Device Info about the specified DirectInput Device
Get Device State Returns the current state of the specified DirectInput Device
Enable Device Enables input processing on the specified DirectInput Device
Disable Device Disables input processing on the specified DirectInput Device

Force Feedback Functions

Create Force Feedback Effect With this function, you create a Force Feedback Effect Node
Change Force Feedback Effect Change an existing Force Feedback Effect
Setup Periodic Force Use this function to configure a Periodic Force.
Setup Ramp Force Use this function to configure a Ramp Force
Setup Constant Force Use this function to configure a Constant Force.
Play Force Feedback Effect Plays the Force Feedback Effect on the device specified in the Effect Node.
Stop Force Feedback Effect Stops the specified Force Feedback Effect
Upload Force Feedback Effect Prepares a Force Feedback Device with a created Force Feedback Effect Node.
Get Force Feedback Status
Stop All Force Feedback Effects Stops all Force Feedback Effects on the specified device
Set Inertia Sets the Inertia force on a Force Feedback capable Device
Set Damper Force Sets the Damper force effect on a Force Feedback capable Device
Set Spring Force Sets the Spring force on a Force Feedback capable Device

Structs

FDeviceInfo
FDeviceState
FForceFeedbackEffectNode

Supported Force Feedback Forces:

Constant Forces A continual and steady force in a single direction
Periodic Forces Pulsating Force
Conditional Forces Forces triggered as a reaction to a particular motion.
Ramp Forces Will increase or decrease in intensity steadily over time
Custom Forces Not implemented yet