Example #1
0
 public GamepadComponent_Slider GetSlider(GamepadSliderId id)
 {
     return(sliders.GetValue(id));
 }
Example #2
0
 protected GamepadComponent_Slider CreateSlider(GamepadSliderId id, InputAtomLockType lock_type = InputAtomLockType.Zeroed)
 {
     return(RegisterSlider(new GamepadComponent_Slider(id, lock_type)));
 }
Example #3
0
 public GamepadComponent_Slider(GamepadSliderId i, InputAtomLockType l = InputAtomLockType.Zeroed) : base(i, l)
 {
     value        = 0.0f;
     frozen_value = 0.0f;
 }