From eda760573938eee9f7badbbd0b73ca67a4a824b5 Mon Sep 17 00:00:00 2001 From: shukenmg <18000205+shukenmg@users.noreply.github.com> Date: Tue, 3 Nov 2020 16:20:42 +0800 Subject: [PATCH] Expose debugging parameters (#593) --- BetterJoyForCemu/App.config | 11 +++++++++++ BetterJoyForCemu/Joycon.cs | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/BetterJoyForCemu/App.config b/BetterJoyForCemu/App.config index 3d483d4..de2fce0 100644 --- a/BetterJoyForCemu/App.config +++ b/BetterJoyForCemu/App.config @@ -117,5 +117,16 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/BetterJoyForCemu/Joycon.cs b/BetterJoyForCemu/Joycon.cs index 90b8fee..69abe96 100644 --- a/BetterJoyForCemu/Joycon.cs +++ b/BetterJoyForCemu/Joycon.cs @@ -33,7 +33,8 @@ namespace BetterJoyForCemu { RUMBLE, SHAKE, }; - public DebugType debug_type = DebugType.NONE; + public DebugType debug_type = (DebugType)int.Parse(ConfigurationManager.AppSettings["DebugType"]); + //public DebugType debug_type = DebugType.NONE; //Keep this for manual debugging during development. public bool isLeft; public enum state_ : uint { NOT_ATTACHED,