From c312155f00bda1fecf7274d15be497c7772f3b80 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Thu, 5 Mar 2020 06:26:55 -0600 Subject: [PATCH] Log actual exception that occurs when interpreting the Touchpad --- DS4Windows/DS4Library/DS4Device.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 11b5102..f9e3052 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -1036,7 +1036,7 @@ namespace DS4Windows touchpad.handleTouchpad(inputReport, cState, touchOffset); } } - catch { currerror = "Index out of bounds: touchpad"; } + catch (Exception ex) { currerror = $"Touchpad: {ex.Message}"; } // Store Gyro and Accel values //Array.Copy(inputReport, 13, gyro, 0, 6);