![]() |
Enhanced Raw Input 1.0
Enhanced Raw Input for Unreal Engine
|
Stores information and data about a HID POV / Hat Switch / D-PAD. More...
#include <EnhancedRawInputWindows.h>
Public Member Functions | |
int32 | GetPOVValueDeg () const |
Get Value of this POV. | |
void | UpdateButtonValues () |
Updates the virtual D-PAD buttons, internally used. | |
float | GetAxisValue () const |
Returns (normalised, depends on output type) value. | |
bool | HasButtonValue (uint32 Index) const |
Checks if a button is configured and has valid value. | |
bool | HasAxisValue () const |
Checks if axis is configured and has valid value. | |
Public Member Functions inherited from FHidAxis | |
float | GetValue () const |
Value of this axis, normalised, inverted and/or in specific format, acording to configuration. | |
bool | HasValue () const |
Wheater this axis has valid value. |
Public Attributes | |
uint16 | DataIndex |
Data index, internaly used. | |
TArray< bool > | ButtonStates |
Sates of the virtual D-Pad Buttons. | |
TArray< FName > | ButtonKeyNames |
Keynames as configured. | |
ERawInputPOVOutputType | POVOutputType |
Output type as configured. | |
Public Attributes inherited from FHidAxis | |
int32 | Value |
Current value of ttios axis. | |
FName | KeyName |
Bound Keyname. | |
bool | IsEnabled |
TRUE if axis is enabeld in settings. | |
ERawInputAxisOutputType | OutputType |
Configured output type. | |
int32 | Min |
Minimal value, as reported from the driver. | |
int32 | Max |
Maximal value, as reported from the driver. | |
float | Offset |
Axis offset as configured. | |
bool | IsInverted |
Wheter is axis inverted (from Configuration) | |
bool | HasChanged |
Wheter value has changed since last HID event. |
Stores information and data about a HID POV / Hat Switch / D-PAD.
float FHidPOV::GetAxisValue | ( | ) | const |
Returns (normalised, depends on output type) value.
int32 FHidPOV::GetPOVValueDeg | ( | ) | const |
Get Value of this POV.
bool FHidPOV::HasAxisValue | ( | ) | const |
Checks if axis is configured and has valid value.
bool FHidPOV::HasButtonValue | ( | uint32 | Index | ) | const |
Checks if a button is configured and has valid value.
Index |