mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GCPad/New Wiimote: Fixed issue 2848 (profiles not saving). Renamed DInput mouse axes to "Axis [XYZ][-+]" from "Mouse XYZ...". Minor cleanup/warning removal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5767 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -64,7 +64,7 @@ public:
|
||||
public:
|
||||
virtual std::string GetName() const = 0;
|
||||
virtual ~Control() {}
|
||||
virtual bool operator==(const std::string& name) const;
|
||||
bool operator==(const std::string& name) const;
|
||||
};
|
||||
|
||||
//
|
||||
@ -104,8 +104,6 @@ public:
|
||||
|
||||
virtual void ClearInputState();
|
||||
|
||||
virtual bool operator==(const DeviceQualifier& devq) const;
|
||||
|
||||
const std::vector<Input*>& Inputs() const { return m_inputs; }
|
||||
const std::vector<Output*>& Outputs() const { return m_outputs; }
|
||||
|
||||
@ -135,6 +133,7 @@ public:
|
||||
void FromString(const std::string& str);
|
||||
std::string ToString() const;
|
||||
bool operator==(const DeviceQualifier& devq) const;
|
||||
bool operator==(const Device* const dev) const;
|
||||
|
||||
std::string source;
|
||||
int cid;
|
||||
@ -219,7 +218,8 @@ public:
|
||||
bool UpdateInput();
|
||||
bool UpdateOutput();
|
||||
|
||||
const std::vector<Device*>& Devices() const { return m_devices; }
|
||||
const std::vector<Device*>& Devices() const { return m_devices; }
|
||||
Device* FindDevice(const DeviceQualifier& devq) const;
|
||||
|
||||
private:
|
||||
bool m_is_init;
|
||||
@ -227,7 +227,4 @@ private:
|
||||
void* m_hwnd;
|
||||
};
|
||||
|
||||
std::vector<ControllerInterface::Device*>::const_iterator FindDevice(
|
||||
const std::vector<ControllerInterface::Device*>& devices, const ControllerInterface::DeviceQualifier& devq);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user