mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DolphinQt: Fix "Default" and "Clear" buttons not updating the displayed extension.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user