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

Public Types | |
| typedef LogicalInputEngine::AxisState | AxisState |
Public Member Functions | |
| virtual void | increaseButtons (const std::vector< ButtonSpecState > &buttons)=0 |
| Sets a sequence of buttons which, when pressed in order, will cause the logical axis value to increase. | |
| virtual std::vector< ButtonSpecState > | increaseButtons (void) const =0 |
| Gets the sequence of buttons that will cause the axis to increase. | |
| virtual void | centerButtons (const std::vector< ButtonSpecState > &buttons)=0 |
| Sets a sequence of buttons which, when pressed in order, will cause the logical axis to return to 0. | |
| virtual std::vector< ButtonSpecState > | centerButtons (void) const =0 |
| Gets the sequence of buttons that will cause the axis to return to 0. | |
| virtual void | decreaseButtons (const std::vector< ButtonSpecState > &buttons)=0 |
| Sets a sequence of buttons which, when pressed in order, will cause the logical axis value to decrease. | |
| virtual std::vector< ButtonSpecState > | decreaseButtons (void) const =0 |
| Gets the sequence of buttons that will cause the axis to decrease. | |
| virtual void | continuous (bool continuous)=0 |
| Sets whether the logical axis value changes continuously as the buttons are held. | |
| virtual bool | continuous (void) const =0 |
| Returns whether the logical axis value changes continuously as the buttons are held. | |
| virtual void | rate (AxisState rate)=0 |
| Sets the rate at which the axis value changes when the increase/decrease buttons are pressed. | |
| virtual AxisState | rate (void) const =0 |
| Returns the rate at which the axis value changes. | |
| virtual void | max (AxisState max)=0 |
| Sets an upper limit to the logical axis value. | |
| virtual AxisState | max (void) const =0 |
| Gets the upper limit of the logical axis value. | |
| virtual void | min (AxisState min)=0 |
| Sets an lower limit to the logical axis value. | |
| virtual AxisState | min (void) const =0 |
| Gets the lower limit of the logical axis value. | |
The axis can be increased or decreased by pressing a sequence of raw buttons in the same was as described for DigitalButtonDriver.
|
|
Gets the sequence of buttons that will cause the axis to return to 0.
|
|
|
Sets a sequence of buttons which, when pressed in order, will cause the logical axis to return to 0.
|
|
|
Returns whether the logical axis value changes continuously as the buttons are held.
|
|
|
Sets whether the logical axis value changes continuously as the buttons are held. If continuous() is false, the axis changes only in discrete increments each time the buttons are pressed.
|
|
|
Gets the sequence of buttons that will cause the axis to decrease.
|
|
|
Sets a sequence of buttons which, when pressed in order, will cause the logical axis value to decrease.
|
|
|
Gets the sequence of buttons that will cause the axis to increase.
|
|
|
Sets a sequence of buttons which, when pressed in order, will cause the logical axis value to increase.
|
|
|
Gets the upper limit of the logical axis value.
|
|
|
Sets an upper limit to the logical axis value.
The logical output is always clamped to +1, even if
|
|
|
Gets the lower limit of the logical axis value.
|
|
|
Sets an lower limit to the logical axis value.
The logical output is always clamped to -1, even if
|
|
|
Returns the rate at which the axis value changes.
|
|
|
Sets the rate at which the axis value changes when the increase/decrease buttons are pressed.
If continuous() is true, the axis will in/decrease continuously at The logical output of the axis is always clamped to [-1, +1].
|
1.4.2