Example #1
0
 public GamepadComponent_Axis GetAxis(GamepadAxisId id)
 {
     return(axises.GetValue(id));
 }
Example #2
0
 protected GamepadComponent_Axis CreateAxis(GamepadAxisId id, InputAtomLockType lock_type = InputAtomLockType.Zeroed)
 {
     return(RegisterAxis(new GamepadComponent_Axis(id, lock_type)));
 }
Example #3
0
 public GamepadComponent_Axis(GamepadAxisId i, InputAtomLockType l = InputAtomLockType.Zeroed) : base(i, l)
 {
     value        = 0.0f;
     frozen_value = 0.0f;
 }