Input Widget - if assigning a button with autotab on, if the button is not the same as the first position value, clear all bindings first. Makes for a less confusing user experience when remapping joypad buttons

This commit is contained in:
adelikat 2014-06-21 20:02:31 +00:00
parent 8001a49afd
commit a2829f8d9a
1 changed files with 6 additions and 0 deletions

View File

@ -175,6 +175,12 @@ namespace BizHawk.Client.EmuHawk
if (!IsDuplicate(bindingStr))
{
if (AutoTab)
{
ClearBindings();
_pos = 0;
}
_bindings[_pos] = bindingStr;
}