From 1c846513dcef57a37fab703d0a100e396cacb8bd Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 10 Jan 2020 16:09:51 -0600 Subject: [PATCH] Fixed Y buffer clearing in trackball routine --- DS4Windows/DS4Control/Mouse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/Mouse.cs b/DS4Windows/DS4Control/Mouse.cs index d21c15d..911413e 100644 --- a/DS4Windows/DS4Control/Mouse.cs +++ b/DS4Windows/DS4Control/Mouse.cs @@ -421,7 +421,7 @@ namespace DS4Windows if (!Global.UseTPforControls[deviceNum]) { Array.Clear(trackballXBuffer, 0, TRACKBALL_BUFFER_LEN); - Array.Clear(trackballXBuffer, 0, TRACKBALL_BUFFER_LEN); + Array.Clear(trackballYBuffer, 0, TRACKBALL_BUFFER_LEN); trackballXVel = 0.0; trackballYVel = 0.0; trackballActive = false;