From 69cc5a559e444b5e916995a3f6587ff0bbe23160 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Fri, 15 Jul 2022 02:47:33 +0200 Subject: [PATCH] PAD: Fix struct member 'structname::variable' is never used warnings. Codacy. --- pcsx2/PAD/Windows/DualShock3.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pcsx2/PAD/Windows/DualShock3.cpp b/pcsx2/PAD/Windows/DualShock3.cpp index df21844fe5..37709b079e 100644 --- a/pcsx2/PAD/Windows/DualShock3.cpp +++ b/pcsx2/PAD/Windows/DualShock3.cpp @@ -174,8 +174,6 @@ struct LightState unsigned char duration; // Have to make one or the other non-zero to turn on light. unsigned char dunno[2]; - // 0 is fully lit. - unsigned char dimness; // Have to make non-zero to turn on light. unsigned char on; }; @@ -184,10 +182,8 @@ struct LightState struct DS3Command { unsigned char id; - unsigned char unsure; // Small is first, then big. MotorState motors[2]; - unsigned char noClue[4]; // 2 is pad 1 light, 4 is pad 2, 8 is pad 3, 16 is pad 4. No clue about the others. unsigned char lightFlags; // Lights are in reverse order. pad 1 is last.