Skip to content

Commit

Permalink
Added comment for DS4_REPORT_EX struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryochan7 committed Aug 8, 2021
1 parent 0e08503 commit 1365eec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DS4Windows/DS4Control/DS4OutDevices/DS4OutDeviceExtras.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ unsafe struct DS4_REPORT_UNION
public fixed byte Report[63];
}

/// <summary>
/// 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
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 63)]
unsafe struct DS4_REPORT_EX
{
Expand Down

0 comments on commit 1365eec

Please sign in to comment.