Expose debugging parameters (#593)
This commit is contained in:
parent
bfdea232cd
commit
eda7605739
2 changed files with 13 additions and 1 deletions
|
@ -117,5 +117,16 @@
|
|||
<!-- Power off controllers when Capture (left only) or Home (right only or combined) buttons are pressed for a long interval (2s) -->
|
||||
<!-- Default: true -->
|
||||
<add key="HomeLongPowerOff" value="true" />
|
||||
|
||||
<!-- Determines what type of debugging information to be printed -->
|
||||
<!-- None = 0 -->
|
||||
<!-- All = 1 -->
|
||||
<!-- Comms = 2 -->
|
||||
<!-- Threading = 3 -->
|
||||
<!-- IMU = 4 -->
|
||||
<!-- Rumble = 5 -->
|
||||
<!-- Shake Input = 6 -->
|
||||
<!-- Default: 0 -->
|
||||
<add key="DebugType" value="0" />
|
||||
</appSettings>
|
||||
</configuration>
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue