dolphin/Source/Core/DolphinQt/Config/Mapping/WiimoteEmuExtension.h

51 lines
1.1 KiB
C
Raw Normal View History

2017-05-20 15:53:17 +00:00
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
2017-07-26 20:31:58 +00:00
#pragma once
2018-07-06 22:40:15 +00:00
#include "DolphinQt/Config/Mapping/MappingWidget.h"
2017-05-20 15:53:17 +00:00
#include "Core/HW/WiimoteEmu/ExtensionPort.h"
2017-05-20 15:53:17 +00:00
class QGroupBox;
class QHBoxLayout;
class WiimoteEmuExtension final : public MappingWidget
{
Q_OBJECT
2017-05-20 15:53:17 +00:00
public:
explicit WiimoteEmuExtension(MappingWindow* window);
InputConfig* GetConfig() override;
void ChangeExtensionType(u32 type);
2017-05-20 15:53:17 +00:00
private:
void LoadSettings() override;
void SaveSettings() override;
void CreateClassicLayout();
void CreateDrumsLayout();
void CreateGuitarLayout();
void CreateNoneLayout();
void CreateNunchukLayout();
void CreateTurntableLayout();
void CreateUDrawTabletLayout();
void CreateDrawsomeTabletLayout();
void CreateTaTaConLayout();
2017-05-20 15:53:17 +00:00
void CreateMainLayout();
// Main
QHBoxLayout* m_main_layout;
QGroupBox* m_classic_box;
QGroupBox* m_drums_box;
QGroupBox* m_guitar_box;
QGroupBox* m_none_box;
QGroupBox* m_nunchuk_box;
QGroupBox* m_turntable_box;
QGroupBox* m_udraw_tablet_box;
QGroupBox* m_drawsome_tablet_box;
QGroupBox* m_tatacon_box;
2017-05-20 15:53:17 +00:00
};