Minor optimization

This commit is contained in:
Travis Nickles 2017-06-22 09:02:51 -07:00
parent 35031f5c5f
commit 9f554cf6c1

View File

@ -32,12 +32,15 @@ namespace DS4Windows
wheel = new MouseWheel(deviceNum);
}
bool triggeractivated = false;
bool useReverseRatchet = false;
public virtual void sixaxisMoved(object sender, SixAxisEventArgs arg)
{
if (Global.isUsingSAforMouse(deviceNum) && Global.getGyroSensitivity(deviceNum) > 0)
{
bool triggeractivated = true;
bool useReverseRatchet = Global.getGyroTriggerTurns(deviceNum);
triggeractivated = true;
useReverseRatchet = Global.getGyroTriggerTurns(deviceNum);
int i = 0;
string[] ss = Global.getSATriggers(deviceNum).Split(',');
if (!string.IsNullOrEmpty(ss[0]))