#include <PhxLogicalInputEngine.h>
Inheritance diagram for Phx::LogicalInputEngine::AnalogAxisDriver:

Public Member Functions | |
| virtual void | axis (const AxisSpec &axis)=0 |
| Specifies which RawInputEngine axis this driver is bound to. | |
| virtual AxisSpec | axis (void) const =0 |
| Gets the current AxisSpec to which this driver is bound. | |
| virtual void | axisMax (RawInputEngine::AxisState axisMax)=0 |
| Sets the raw axis value that maps to the maximum of the logical range. | |
| virtual RawInputEngine::AxisState | axisMax (void) const =0 |
| Gets the raw axis value mapped to the maximum of the logical range. | |
| virtual void | axisCenter (RawInputEngine::AxisState axisCenter)=0 |
| Sets the raw axis center value. | |
| virtual RawInputEngine::AxisState | axisCenter (void) const =0 |
| Gets the raw axis center value. | |
| virtual void | axisMin (RawInputEngine::AxisState axisMin)=0 |
| Sets the raw axis value that maps to the minimum of the logical axis range. | |
| virtual RawInputEngine::AxisState | axisMin (void) const =0 |
| Gets the minimum raw axis value. | |
Note that the axisMax, axisMin, and axisCenter values are used to calibrate the axis. By default, they are all set to 0, resulting in an axis that doesn't move -- you will need to set appropriate values in order for the axis to respond properly. When axisMax() < axisMin(), axisMax() < axisCenter() or axisMin() > axisCenter(), the mapping from raw to logical values becomes invalid. In these cases, the logical value 0 is output.
|
|
Gets the current AxisSpec to which this driver is bound.
|
|
|
Specifies which RawInputEngine axis this driver is bound to.
|
|
|
Gets the raw axis center value.
|
|
|
Sets the raw axis center value.
|
|
|
Gets the raw axis value mapped to the maximum of the logical range.
|
|
|
Sets the raw axis value that maps to the maximum of the logical range. This maximum value is the raw value mapped to logical value +1.
|
|
|
Gets the minimum raw axis value.
|
|
|
Sets the raw axis value that maps to the minimum of the logical axis range. This minimum value is the raw value mapped to logical value -1.
|
1.4.2