mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Revert to using temporary variables for now
This commit is contained in:
parent
1fc77c5537
commit
7bf43f93f5
@ -142,8 +142,6 @@ namespace DS4Windows
|
||||
private static double horizontalRemainder = 0.0, verticalRemainder = 0.0;
|
||||
private const int MOUSESPEEDFACTOR = 40;
|
||||
private const double MOUSESTICKOFFSET = 0.03;
|
||||
private static double tempMouseOffsetX = 0.0;
|
||||
private static double tempMouseOffsetY = 0.0;
|
||||
|
||||
public static void Commit(int device)
|
||||
{
|
||||
@ -2326,6 +2324,7 @@ namespace DS4Windows
|
||||
DS4StateFieldMapping.ControlType controlType = DS4StateFieldMapping.mappedType[controlNum];
|
||||
long timeElapsed = ctrl.DS4Controllers[device].getLastTimeElapsed();
|
||||
//double mouseOffset = 0.025;
|
||||
double tempMouseOffsetX = 0.0, tempMouseOffsetY = 0.0;
|
||||
|
||||
if (controlType == DS4StateFieldMapping.ControlType.Button)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user