From 706520a664bfc9faa323c85005c6c815dc702c4e Mon Sep 17 00:00:00 2001 From: ndeadly <24677491+ndeadly@users.noreply.github.com> Date: Wed, 11 Nov 2026 21:05:21 +0100 Subject: [PATCH] hid: add HidColor type --- nx/include/switch/services/hid.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index 28412c5b4..e6a90bcda 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -599,6 +599,14 @@ typedef struct HidDirectionState { float direction[3][3]; ///< 3x3 matrix } HidDirectionState; +/// HidColor +typedef struct HidColor { + u32 body_color; ///< Body Color + u32 button_color; ///< Button Color + u32 left_grip_color; ///< Left Grip Color + u32 right_grip_color; ///< Right Grip Color +} HidColor; + #define JOYSTICK_MAX (0x7FFF) #define JOYSTICK_MIN (-0x7FFF)