mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 08:01:49 +01:00
Make sure control binding is written for Shift bindings even when bound to default
Related to issue #1101
This commit is contained in:
parent
e92a15aa1e
commit
5a323cd93c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user