mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Minor optimization
This commit is contained in:
parent
35031f5c5f
commit
9f554cf6c1
@ -32,12 +32,15 @@ namespace DS4Windows
|
|||||||
wheel = new MouseWheel(deviceNum);
|
wheel = new MouseWheel(deviceNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool triggeractivated = false;
|
||||||
|
bool useReverseRatchet = false;
|
||||||
|
|
||||||
public virtual void sixaxisMoved(object sender, SixAxisEventArgs arg)
|
public virtual void sixaxisMoved(object sender, SixAxisEventArgs arg)
|
||||||
{
|
{
|
||||||
if (Global.isUsingSAforMouse(deviceNum) && Global.getGyroSensitivity(deviceNum) > 0)
|
if (Global.isUsingSAforMouse(deviceNum) && Global.getGyroSensitivity(deviceNum) > 0)
|
||||||
{
|
{
|
||||||
bool triggeractivated = true;
|
triggeractivated = true;
|
||||||
bool useReverseRatchet = Global.getGyroTriggerTurns(deviceNum);
|
useReverseRatchet = Global.getGyroTriggerTurns(deviceNum);
|
||||||
int i = 0;
|
int i = 0;
|
||||||
string[] ss = Global.getSATriggers(deviceNum).Split(',');
|
string[] ss = Global.getSATriggers(deviceNum).Split(',');
|
||||||
if (!string.IsNullOrEmpty(ss[0]))
|
if (!string.IsNullOrEmpty(ss[0]))
|
||||||
|
Loading…
Reference in New Issue
Block a user