From 1365eecfe4d72eba5a587baa43416347f4b21ea2 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 8 Aug 2021 15:01:44 -0500 Subject: [PATCH] Added comment for DS4_REPORT_EX struct --- DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs index 650035e2ad..fee8ae9884 100644 --- a/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs +++ b/DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs @@ -27,6 +27,12 @@ unsafe struct DS4_REPORT_UNION public fixed byte Report[63]; } + /// + /// Used to set data for DS4 Extended output report. StructLayout + /// will be used to align data for a raw byte array of 63 bytes. + /// ViGEmBus will place report ID byte into the output so this data + /// will technically start with byte 1 of the final output report + /// [StructLayout(LayoutKind.Explicit, Size = 63)] unsafe struct DS4_REPORT_EX {