private final class XBoxController.MagAxis extends java.lang.Object implements HIDAxis
| Modifier and Type | Field and Description |
|---|---|
private int |
m_a1 |
private int |
m_a2 |
private double |
m_deadband |
| Constructor and Description |
|---|
MagAxis(int axis1,
int axis2) |
| Modifier and Type | Method and Description |
|---|---|
double |
get()
Get the Value of the Axis.
|
void |
setBacklash(double value) |
void |
setDeadband(double value)
Set the Deadband of the Axis.
|
void |
setFineControl(double value) |
void |
setInverted(boolean inverted)
Does Nothing
|
void |
setRampEnd(double end) |
private final int m_a1
private final int m_a2
private double m_deadband
public double get()
get in interface NumberSourceget in interface HIDAxispublic void setInverted(boolean inverted)
setInverted in interface HIDAxispublic void setDeadband(double value)
setDeadband in interface HIDAxisvalue - the deadband value of the axis.public void setRampEnd(double end)
setRampEnd in interface HIDAxispublic void setBacklash(double value)
setBacklash in interface HIDAxispublic void setFineControl(double value)
setFineControl in interface HIDAxis