From 5a323cd93cd362ffdf57f5b33df4ff30d3af1c55 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Mon, 10 Feb 2020 20:58:28 -0600 Subject: [PATCH] Make sure control binding is written for Shift bindings even when bound to default Related to issue #1101 --- DS4Windows/DS4Forms/BindingWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Forms/BindingWindow.xaml.cs b/DS4Windows/DS4Forms/BindingWindow.xaml.cs index 1c50319..28b7c72 100644 --- a/DS4Windows/DS4Forms/BindingWindow.xaml.cs +++ b/DS4Windows/DS4Forms/BindingWindow.xaml.cs @@ -160,7 +160,7 @@ namespace DS4WinWPF.DS4Forms Button button = sender as Button; if (associatedBindings.TryGetValue(button, out BindAssociation bind)) { - if (defaultControl == bind.control) + if (defaultControl == bind.control && !binding.IsShift()) { binding.outputType = OutBinding.OutType.Default; }