mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQ: Mapping UI cleanups.
This commit is contained in:
@ -35,6 +35,8 @@ class Device;
|
||||
}
|
||||
} // namespace ciface
|
||||
|
||||
constexpr int INDICATOR_UPDATE_FREQ = 30;
|
||||
|
||||
class MappingWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -42,7 +44,6 @@ public:
|
||||
explicit MappingWidget(MappingWindow* window);
|
||||
|
||||
ControllerEmu::EmulatedController* GetController() const;
|
||||
std::shared_ptr<ciface::Core::Device> GetDevice() const;
|
||||
|
||||
MappingWindow* GetParent() const;
|
||||
|
||||
@ -53,7 +54,9 @@ public:
|
||||
virtual void SaveSettings() = 0;
|
||||
virtual InputConfig* GetConfig() = 0;
|
||||
|
||||
signals:
|
||||
void Update();
|
||||
void ConfigChanged();
|
||||
|
||||
protected:
|
||||
int GetPort() const;
|
||||
@ -62,8 +65,5 @@ protected:
|
||||
private:
|
||||
MappingWindow* m_parent;
|
||||
bool m_first = true;
|
||||
std::vector<MappingBool*> m_bools;
|
||||
std::vector<MappingRadio*> m_radio;
|
||||
std::vector<MappingButton*> m_buttons;
|
||||
std::vector<MappingNumeric*> m_numerics;
|
||||
};
|
||||
|
Reference in New Issue
Block a user