InputCommon: Allow Wii remote extension to be set with an input expression.

This commit is contained in:
Jordan Woyak
2020-01-18 11:19:32 -06:00
parent e8152b700f
commit 0a1634bedf
12 changed files with 172 additions and 64 deletions

View File

@ -7,6 +7,7 @@
#include "DolphinQt/Config/Mapping/MappingWidget.h"
class QComboBox;
class QLabel;
class WiimoteEmuExtension;
class WiimoteEmuGeneral final : public MappingWidget
@ -21,12 +22,19 @@ private:
void LoadSettings() override;
void SaveSettings() override;
void CreateMainLayout();
void Connect(MappingWindow* window);
void Connect();
// Index changed by code/expression.
void OnAttachmentChanged(int index);
// Selection chosen by user.
void OnAttachmentSelected(int index);
void ConfigChanged();
void Update();
// Extensions
QComboBox* m_extension_combo;
QLabel* m_extension_combo_dynamic_indicator;
WiimoteEmuExtension* m_extension_widget;
};