mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Slow down mouse wheel scrolling for analog stick
This commit is contained in:
parent
1eac0f9dd5
commit
f00a42bedd
@ -2682,7 +2682,7 @@ namespace DS4Windows
|
||||
if (now >= oldnow + TimeSpan.FromMilliseconds(10) && !pressagain)
|
||||
{
|
||||
oldnow = now;
|
||||
InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 1.5f * (down ? -1 : 1)), 0);
|
||||
InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 8.0f * (down ? -1 : 1)), 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user