Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
AxisBinding_Single Class Reference
Inheritance diagram for AxisBinding_Single:
InputBinding IConfigNode IConfigNode

Public Member Functions

 AxisBinding_Single ()
 
 AxisBinding_Single (ControlTypes lockMask)
 
 AxisBinding_Single (float neutral)
 
 AxisBinding_Single (float neutral, ControlTypes lockMask)
 
 AxisBinding_Single (InputBindingModes useSwitch)
 
 AxisBinding_Single (InputBindingModes useSwitch, ControlTypes lockMask)
 
 AxisBinding_Single (InputBindingModes useSwitch, float neutral)
 
 AxisBinding_Single (InputBindingModes useSwitch, float neutral, ControlTypes lockMask)
 
 AxisBinding_Single (string Id, string Name, bool isInverted)
 
 AxisBinding_Single (string Id, string Name, bool isInverted, ControlTypes lockMask)
 
 AxisBinding_Single (string Id, string Name, bool isInverted, float sens, float dead_zone, float axisScale)
 
 AxisBinding_Single (string Id, string Name, bool isInverted, float sens, float dead_zone, float axisScale, ControlTypes lockMask)
 
float GetAxis ()
 
override bool IsNeutral ()
 
override void Load (ConfigNode node)
 
override void Save (ConfigNode node)
 
- Public Member Functions inherited from InputBinding
object Clone ()
 
bool CompareSwitchState (InputBindingModes switchSt)
 
bool IsLocked ()
 
bool IsUnlocked ()
 

Public Attributes

int axisIdx = -1
 
float deadzone = 0.05f
 
int deviceIdx = -1
 
string idTag = "None"
 
bool inverted = false
 
string name = "None"
 
float neutralPoint = 0f
 
bool preinvertAxis = false
 
float scale = 1f
 
float sensitivity = 1f
 
string title = "None"
 
- Public Attributes inherited from InputBinding
ulong inputLockMask = 0
 
InputBindingModes switchState = InputBindingModes.Any
 
bool useSwitchState
 

Additional Inherited Members

- Static Public Attributes inherited from InputBinding
static bool linRotState
 

Constructor & Destructor Documentation

AxisBinding_Single.AxisBinding_Single ( )
inline
AxisBinding_Single.AxisBinding_Single ( ControlTypes  lockMask)
inline
AxisBinding_Single.AxisBinding_Single ( float  neutral)
inline
AxisBinding_Single.AxisBinding_Single ( float  neutral,
ControlTypes  lockMask 
)
inline
AxisBinding_Single.AxisBinding_Single ( InputBindingModes  useSwitch)
inline
AxisBinding_Single.AxisBinding_Single ( InputBindingModes  useSwitch,
ControlTypes  lockMask 
)
inline
AxisBinding_Single.AxisBinding_Single ( InputBindingModes  useSwitch,
float  neutral 
)
inline
AxisBinding_Single.AxisBinding_Single ( InputBindingModes  useSwitch,
float  neutral,
ControlTypes  lockMask 
)
inline
AxisBinding_Single.AxisBinding_Single ( string  Id,
string  Name,
bool  isInverted 
)
inline
AxisBinding_Single.AxisBinding_Single ( string  Id,
string  Name,
bool  isInverted,
ControlTypes  lockMask 
)
inline
AxisBinding_Single.AxisBinding_Single ( string  Id,
string  Name,
bool  isInverted,
float  sens,
float  dead_zone,
float  axisScale 
)
inline
AxisBinding_Single.AxisBinding_Single ( string  Id,
string  Name,
bool  isInverted,
float  sens,
float  dead_zone,
float  axisScale,
ControlTypes  lockMask 
)
inline

Member Function Documentation

float AxisBinding_Single.GetAxis ( )
inline

< apply deadzone

override bool AxisBinding_Single.IsNeutral ( )
inlinevirtual

Reimplemented from InputBinding.

override void AxisBinding_Single.Load ( ConfigNode  node)
inlinevirtual

Reimplemented from InputBinding.

override void AxisBinding_Single.Save ( ConfigNode  node)
inlinevirtual

Reimplemented from InputBinding.

Member Data Documentation

int AxisBinding_Single.axisIdx = -1
float AxisBinding_Single.deadzone = 0.05f
int AxisBinding_Single.deviceIdx = -1
string AxisBinding_Single.idTag = "None"
bool AxisBinding_Single.inverted = false
string AxisBinding_Single.name = "None"
float AxisBinding_Single.neutralPoint = 0f
bool AxisBinding_Single.preinvertAxis = false
float AxisBinding_Single.scale = 1f
float AxisBinding_Single.sensitivity = 1f
string AxisBinding_Single.title = "None"

The documentation for this class was generated from the following file: