jhorv 49be977588
Eliminate boxing allocations caused by ISampledData structs (#4556)
* Redesign use of ISampledData for accessing the SamplingNumber value on input data structs.

* Always read SamplingNumber as little-endian

* Restored field order for SixAxisSensorState. Rework to allow possibility of non-zero offsets for the SamplingNumber field. Set StructLayout Pack=8 - the KeyboardState struct is 4 bytes shorter with any other value.

* fix spelling

Co-authored-by: riperiperi <rhy3756547@hotmail.com>

* set Pack = 1 for ISampledDataStruct types, added Unknown field to KeyboardState

* extend size of KeyboardModifier

---------

Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2023-04-05 17:42:32 -03:00
..
2023-03-04 14:43:08 +01:00
2023-03-04 14:43:08 +01:00
2023-03-01 23:42:27 -03:00
2022-08-18 18:04:54 +02:00
2023-03-01 23:42:27 -03:00
2023-03-04 14:43:08 +01:00
2023-03-01 23:42:27 -03:00
2023-03-01 23:42:27 -03:00
2023-03-11 17:05:48 -03:00
2023-03-04 14:43:08 +01:00
2023-03-04 14:43:08 +01:00