Added Unbound preset menu item

This commit is contained in:
Travis Nickles 2020-03-19 23:54:10 -05:00
parent 8488e1de99
commit 129dd25d06
2 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,7 @@
<MenuItem Header="Inverted X" Tag="7" CommandParameter="2" Click="PresetMenuItem_Click" />
<MenuItem Header="Inverted Y" Tag="7" CommandParameter="3" Click="PresetMenuItem_Click" />
</MenuItem>
<MenuItem Header="Unbound" Tag="8" Click="PresetMenuItem_Click" />
</ContextMenu>
</Canvas.Resources>

View File

@ -2190,6 +2190,15 @@ namespace DS4WinWPF.DS4Forms.ViewModels
break;
}
}
else if (baseTag == 8)
{
actionBtns.AddRange(new object[5]
{
X360Controls.Unbound, X360Controls.Unbound,
X360Controls.Unbound, X360Controls.Unbound,
X360Controls.Unbound,
});
}
switch (highlightControl)