ryujinx/Ryujinx.HLE/HOS/Services/Hid
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
..
HidDevices Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
HidServer Treat NpadIdType < 0 as invalid. Filter invalid SupportedPlayers inside IHidServer.SetSupportedNpadIdType(). (#4377) 2023-02-10 12:37:20 -03:00
Irs IPC refactor part 3+4: New server HIPC message processor (#4188) 2023-01-04 23:15:45 +01:00
Types Eliminate boxing allocations caused by ISampledData structs (#4556) 2023-04-05 17:42:32 -03:00
Hid.cs hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
IHidbusServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHidDebugServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
IHidServer.cs Treat NpadIdType < 0 as invalid. Filter invalid SupportedPlayers inside IHidServer.SetSupportedNpadIdType(). (#4377) 2023-02-10 12:37:20 -03:00
IHidSystemServer.cs hid: Cleanup and implement some calls (#2380) 2021-06-23 22:52:55 +02:00
ISystemServer.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
ResultCode.cs Implement vibrations (#2468) 2021-08-05 00:39:40 +02:00