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