DolphinQt: Fix "Default" and "Clear" buttons not updating the displayed extension.

This commit is contained in:
Jordan Woyak
2019-04-27 10:51:57 -05:00
parent 687907e44d
commit 74a997da65
7 changed files with 23 additions and 48 deletions

View File

@ -6,6 +6,8 @@
#include "DolphinQt/Config/Mapping/MappingWidget.h"
#include "Core/HW/WiimoteEmu/ExtensionPort.h"
class QGroupBox;
class QHBoxLayout;
@ -13,21 +15,11 @@ class WiimoteEmuExtension final : public MappingWidget
{
Q_OBJECT
public:
enum class Type
{
NONE,
CLASSIC_CONTROLLER,
DRUMS,
GUITAR,
NUNCHUK,
TURNTABLE
};
explicit WiimoteEmuExtension(MappingWindow* window);
InputConfig* GetConfig() override;
void ChangeExtensionType(Type type);
void ChangeExtensionType(u32 type);
private:
void LoadSettings() override;