mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-27 03:24:20 +01:00
Raised number of ticks possible for analog mouse wheel
Related to issue #518.
This commit is contained in:
parent
83dae66bac
commit
23a25bc504
@ -2466,7 +2466,7 @@ namespace DS4Windows
|
|||||||
if (now >= oldnow + TimeSpan.FromMilliseconds(10) && !pressagain)
|
if (now >= oldnow + TimeSpan.FromMilliseconds(10) && !pressagain)
|
||||||
{
|
{
|
||||||
oldnow = now;
|
oldnow = now;
|
||||||
InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 51f * (down ? -1 : 1)), 0);
|
InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 1.5f * (down ? -1 : 1)), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user