MPMA Framework 0.4
|
Uniquely identifies an axis contraption. Any given device type may have more than one set of axes. More...
#include <Unified.h>
Public Member Functions | |
bool | operator== (const UnifiedButton &o) const |
<== | |
bool | operator!= (const UnifiedButton &o) const |
<!= | |
float | GetXValue () const |
Returns the value of the X axis, from -1 to 1. | |
float | GetYValue () const |
Returns the value of the Y axis, from -1 to 1. | |
float | GetZValue () const |
Returns the value of the Z axis, from -1 to 1. | |
const std::string | GetFriendlyName () const |
Retrieves a user-friendly name for the button. | |
const std::string | GetPersistentIdentifier () const |
Returns an string that can be used to uniquely identify the axis set again after the program has exited. | |
Public Attributes | |
DeviceType | Type |
The source device of the axis. |
Uniquely identifies an axis contraption. Any given device type may have more than one set of axes.