![]() |
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, according to configuration. | |
bool | HasValue () const |
Whether this axis has valid value. |
Public Attributes | |
uint16 | DataIndex |
Data index, internally 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 this axis. | |
FName | KeyName |
Bound Key name. | |
bool | bIsEnabled |
TRUE if axis is enabled 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 | bIsInverted |
Whether is axis inverted (from Configuration) | |
bool | bHasChanged |
Whether 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 |