Merge remote-tracking branch 'origin/jay' into jay

# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
This commit is contained in:
Jays2Kings 2016-09-21 22:40:27 -04:00
commit 547bd7b001

View File

@ -1396,8 +1396,16 @@ namespace DS4Windows
{ {
Item = m_Xdoc.SelectSingleNode("/" + rootname + "/Sensitivity"); Item = m_Xdoc.SelectSingleNode("/" + rootname + "/Sensitivity");
string[] s = Item.InnerText.Split('|'); string[] s = Item.InnerText.Split('|');
<<<<<<< HEAD
if (s.Length == 1) if (s.Length == 1)
s = Item.InnerText.Split(','); s = Item.InnerText.Split(',');
=======
if (s.Length != 6)
{
s = Item.InnerText.Split(',');
}
>>>>>>> origin/jay
double.TryParse(s[0], out LSSens[device]); double.TryParse(s[0], out LSSens[device]);
double.TryParse(s[1], out RSSens[device]); double.TryParse(s[1], out RSSens[device]);
double.TryParse(s[2], out l2Sens[device]); double.TryParse(s[2], out l2Sens[device]);