diff --git a/BetterJoyForCemu/App.config b/BetterJoyForCemu/App.config index c0920c3..b3dad1f 100644 --- a/BetterJoyForCemu/App.config +++ b/BetterJoyForCemu/App.config @@ -44,6 +44,12 @@ + + + + + + @@ -65,9 +71,7 @@ - - - + diff --git a/BetterJoyForCemu/Joycon.cs b/BetterJoyForCemu/Joycon.cs index 69b914e..3af46b9 100644 --- a/BetterJoyForCemu/Joycon.cs +++ b/BetterJoyForCemu/Joycon.cs @@ -944,7 +944,7 @@ namespace BetterJoyForCemu { acc_r[1] = (Int16)(report_buf[15 + n * 12] | ((report_buf[16 + n * 12] << 8) & 0xff00)); acc_r[2] = (Int16)(report_buf[17 + n * 12] | ((report_buf[18 + n * 12] << 8) & 0xff00)); - if (form.nonOriginal) { + if (form.allowCalibration) { for (int i = 0; i < 3; ++i) { switch (i) { case 0: diff --git a/BetterJoyForCemu/MainForm.cs b/BetterJoyForCemu/MainForm.cs index efd45b2..5102287 100644 --- a/BetterJoyForCemu/MainForm.cs +++ b/BetterJoyForCemu/MainForm.cs @@ -16,6 +16,7 @@ using System.Xml.Linq; namespace BetterJoyForCemu { public partial class MainForm : Form { public bool nonOriginal = Boolean.Parse(ConfigurationManager.AppSettings["NonOriginalController"]); + public bool allowCalibration = Boolean.Parse(ConfigurationManager.AppSettings["AllowCalibration"]); public List