예제 #1
0
 public override float GetValue(InputDevice device)
 {
     return(Control.GetValue(device));
 }
예제 #2
0
        bool IsPressed(UnknownDeviceControl control, InputDevice device)
        {
            var value = control.GetValue(device);

            return(Utility.AbsoluteIsOverThreshold(value, 0.5f));
        }