Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/jay' into jay
Browse files Browse the repository at this point in the history
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
  • Loading branch information
Jays2Kings committed Sep 22, 2016
2 parents 1bfc69e + 253363e commit 547bd7b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions DS4Windows/DS4Control/ScpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1396,8 +1396,16 @@ public Boolean LoadProfile(int device, bool launchprogram, ControlService contro
{
Item = m_Xdoc.SelectSingleNode("/" + rootname + "/Sensitivity");
string[] s = Item.InnerText.Split('|');
<<<<<<< HEAD
if (s.Length == 1)
s = Item.InnerText.Split(',');
=======
if (s.Length != 6)
{
s = Item.InnerText.Split(',');
}

>>>>>>> origin/jay
double.TryParse(s[0], out LSSens[device]);
double.TryParse(s[1], out RSSens[device]);
double.TryParse(s[2], out l2Sens[device]);
Expand Down

0 comments on commit 547bd7b

Please sign in to comment.