fix: bug fix for mouse config

This commit is contained in:
lantzelot-swe 2021-12-30 10:38:04 +01:00
parent 4d174e3fd8
commit 8f1d99cfbf
1 changed files with 4 additions and 1 deletions

View File

@ -156,7 +156,9 @@ public class JoystickModel extends AbstractModel
for (int i = 0; i < 15; i++)
{
configList.add("");
}
}
this.mouse = configString.endsWith("M:");
this.primary = false;
}
else
{
@ -171,6 +173,7 @@ public class JoystickModel extends AbstractModel
{
configList.add("");
}
this.mouse = false;
setPrimaryWithoutListenerNotification(colonSplit[1].contains("*"));
}
resetDataChanged();