mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
Attachment: Make class members non-public
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user