Make sure control binding is written for Shift bindings even when bound to default

Related to issue #1101
This commit is contained in:
Travis Nickles 2020-02-10 20:58:28 -06:00
parent e92a15aa1e
commit 5a323cd93c

View File

@ -160,7 +160,7 @@ namespace DS4WinWPF.DS4Forms
Button button = sender as Button; Button button = sender as Button;
if (associatedBindings.TryGetValue(button, out BindAssociation bind)) if (associatedBindings.TryGetValue(button, out BindAssociation bind))
{ {
if (defaultControl == bind.control) if (defaultControl == bind.control && !binding.IsShift())
{ {
binding.outputType = OutBinding.OutType.Default; binding.outputType = OutBinding.OutType.Default;
} }