From aced5deab767bdc6831c9bbe444ff3d830bc3bf0 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 25 Aug 2019 15:48:26 -0500 Subject: [PATCH] Fixed square stick roundness default in GUI --- DS4Windows/DS4Control/ScpUtil.cs | 2 +- DS4Windows/DS4Forms/Options.Designer.cs | 5 +++++ DS4Windows/DS4Forms/Options.cs | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index 406724a..b55bd92 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -4568,7 +4568,7 @@ namespace DS4Windows gyroMouseHorizontalAxis[device] = 0; squStickInfo[device].lsMode = false; squStickInfo[device].rsMode = false; - squStickInfo[device].roundness = 5; + squStickInfo[device].roundness = 5.0; setLsOutCurveMode(device, 0); setRsOutCurveMode(device, 0); setL2OutCurveMode(device, 0); diff --git a/DS4Windows/DS4Forms/Options.Designer.cs b/DS4Windows/DS4Forms/Options.Designer.cs index d0b5fb7..0dff412 100644 --- a/DS4Windows/DS4Forms/Options.Designer.cs +++ b/DS4Windows/DS4Forms/Options.Designer.cs @@ -3431,6 +3431,11 @@ 0, 0}); this.RoundnessNUpDown.Name = "RoundnessNUpDown"; + this.RoundnessNUpDown.Value = new decimal(new int[] { + 50, + 0, + 0, + 65536}); this.RoundnessNUpDown.ValueChanged += new System.EventHandler(this.RoundnessNUpDown_ValueChanged); // // label28 diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 0b9c48b..56c9f0b 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -903,6 +903,7 @@ namespace DS4Windows.Forms lsSquStickCk.Checked = false; rsSquStickCk.Checked = false; + RoundnessNUpDown.Value = 5.0m; cBLaunchProgram.Checked = false; pBProgram.Image = null;