mirror of https://github.com/PCSX2/pcsx2.git
PAD: Fix struct member 'structname::variable' is never used warnings.
Codacy.
This commit is contained in:
parent
9f8f2f6730
commit
69cc5a559e
|
@ -174,8 +174,6 @@ struct LightState
|
||||||
unsigned char duration;
|
unsigned char duration;
|
||||||
// Have to make one or the other non-zero to turn on light.
|
// Have to make one or the other non-zero to turn on light.
|
||||||
unsigned char dunno[2];
|
unsigned char dunno[2];
|
||||||
// 0 is fully lit.
|
|
||||||
unsigned char dimness;
|
|
||||||
// Have to make non-zero to turn on light.
|
// Have to make non-zero to turn on light.
|
||||||
unsigned char on;
|
unsigned char on;
|
||||||
};
|
};
|
||||||
|
@ -184,10 +182,8 @@ struct LightState
|
||||||
struct DS3Command
|
struct DS3Command
|
||||||
{
|
{
|
||||||
unsigned char id;
|
unsigned char id;
|
||||||
unsigned char unsure;
|
|
||||||
// Small is first, then big.
|
// Small is first, then big.
|
||||||
MotorState motors[2];
|
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.
|
// 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;
|
unsigned char lightFlags;
|
||||||
// Lights are in reverse order. pad 1 is last.
|
// Lights are in reverse order. pad 1 is last.
|
||||||
|
|
Loading…
Reference in New Issue