private void ResetSettings_Click(object sender, RoutedEventArgs e) { IntifaceGameHapticsRouterProperties.Default.Reset(); IntifaceGameHapticsRouterProperties.Default.Save(); MultiplierChanged?.Invoke(this, IntifaceGameHapticsRouterProperties.Default.VibrationMultiplier); PacketGapChanged?.Invoke(this, IntifaceGameHapticsRouterProperties.Default.PacketTimingGapInMS); }
private void MultiplierSlider_OnValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e) { MultiplierChanged?.Invoke(this, Multiplier); }
private void multiplierSlider_ValueChanged(object aSender, System.Windows.RoutedPropertyChangedEventArgs <double> aArgs) { MultiplierChanged?.Invoke(this, aArgs.NewValue); }