Attachment: Make class members non-public
This commit is contained in:
parent
a2caa0d733
commit
4b2f40a634
|
@ -20,15 +20,16 @@ public:
|
||||||
void Reset();
|
void Reset();
|
||||||
std::string GetName() const override;
|
std::string GetName() const override;
|
||||||
|
|
||||||
const char* const name;
|
protected:
|
||||||
WiimoteEmu::ExtensionReg& reg;
|
// Default radius for attachment analog sticks.
|
||||||
|
static constexpr ControlState DEFAULT_ATTACHMENT_STICK_RADIUS = 1.0;
|
||||||
|
|
||||||
u8 id[6];
|
u8 id[6];
|
||||||
u8 calibration[0x10];
|
u8 calibration[0x10];
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
// Default radius for attachment analog sticks.
|
const char* const name;
|
||||||
static constexpr ControlState DEFAULT_ATTACHMENT_STICK_RADIUS = 1.0;
|
WiimoteEmu::ExtensionReg& reg;
|
||||||
};
|
};
|
||||||
|
|
||||||
class None : public Attachment
|
class None : public Attachment
|
||||||
|
|
Loading…
Reference in New Issue