From a45b951db27fff6f0b1bb4eb0c158c0db48645ca Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 30 Nov 2020 12:30:35 -0500 Subject: [PATCH] hiddbg/hidsys: Updated structs. --- nx/include/switch/services/hiddbg.h | 6 +++--- nx/include/switch/services/hidsys.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nx/include/switch/services/hiddbg.h b/nx/include/switch/services/hiddbg.h index 63ae90e3..0afb3969 100644 --- a/nx/include/switch/services/hiddbg.h +++ b/nx/include/switch/services/hiddbg.h @@ -21,9 +21,9 @@ typedef struct { typedef struct { s32 x; ///< X s32 y; ///< Y - s32 unk0; ///< Unknown - s32 unk1; ///< Unknown - s32 unk2; ///< Unknown + s32 delta_x; ///< DeltaX + s32 delta_y; ///< DeltaY + s32 wheel_delta; ///< WheelDelta u32 buttons; ///< Bitfield of \ref HidMouseButton. u32 attributes; ///< Bitfield of \ref HidMouseAttribute. } HiddbgMouseAutoPilotState; diff --git a/nx/include/switch/services/hidsys.h b/nx/include/switch/services/hidsys.h index 70bbd540..ae287257 100644 --- a/nx/include/switch/services/hidsys.h +++ b/nx/include/switch/services/hidsys.h @@ -100,7 +100,7 @@ typedef struct { typedef struct { u32 rotation; ///< \ref HidcfgAnalogStickRotation u8 is_paired_stick_assigned; ///< IsPairedStickAssigned - u8 pad[3]; ///< Padding + u8 reserved[3]; ///< Reserved } HidcfgAnalogStickAssignment; /// ButtonConfigEmbedded