Ryujinx/Ryujinx.HLE/HOS/Services/Hid/Types
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
..
Npad hid: A little cleanup (#2950) 2021-12-29 14:49:10 +01:00
SharedMemory Eliminate boxing allocations caused by ISampledData structs (#4556) 2023-04-05 17:42:32 -03:00
AppletFooterUiType.cs hid: Cleanup and implement some calls (#2380) 2021-06-23 22:52:55 +02:00
HidVector.cs hid: Rewrite shared memory management (#2257) 2021-05-02 22:01:30 +02:00
NpadJoyHoldType.cs hid: Rewrite shared memory management (#2257) 2021-05-02 22:01:30 +02:00