| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "DolphinQt/Config/Mapping/MappingWidget.h" |
| 7 |
|
| 8 |
#include "Core/HW/WiimoteEmu/ExtensionPort.h" |
| 9 |
|
| 10 |
class QGroupBox; |
| 11 |
class QHBoxLayout; |
| 12 |
|
| 13 |
class WiimoteEmuExtension final : public MappingWidget |
| 14 |
{ |
| 15 |
Q_OBJECT |
| 16 |
public: |
| 17 |
explicit WiimoteEmuExtension(MappingWindow* window); |
| 18 |
|
| 19 |
InputConfig* GetConfig() override; |
| 20 |
|
| 21 |
void ChangeExtensionType(u32 type); |
| 22 |
|
| 23 |
private: |
| 24 |
void LoadSettings() override; |
| 25 |
void SaveSettings() override; |
| 26 |
|
| 27 |
void CreateClassicLayout(); |
| 28 |
void CreateDrumsLayout(); |
| 29 |
void CreateGuitarLayout(); |
| 30 |
void CreateNoneLayout(); |
| 31 |
void CreateNunchukLayout(); |
| 32 |
void CreateTurntableLayout(); |
| 33 |
void CreateUDrawTabletLayout(); |
| 34 |
void CreateDrawsomeTabletLayout(); |
| 35 |
void CreateTaTaConLayout(); |
| 36 |
void CreateShinkansenLayout(); |
| 37 |
void CreateMainLayout(); |
| 38 |
|
| 39 |
|
| 40 |
QHBoxLayout* m_main_layout; |
| 41 |
QGroupBox* m_classic_box; |
| 42 |
QGroupBox* m_drums_box; |
| 43 |
QGroupBox* m_guitar_box; |
| 44 |
QGroupBox* m_none_box; |
| 45 |
QGroupBox* m_nunchuk_box; |
| 46 |
QGroupBox* m_turntable_box; |
| 47 |
QGroupBox* m_udraw_tablet_box; |
| 48 |
QGroupBox* m_drawsome_tablet_box; |
| 49 |
QGroupBox* m_tatacon_box; |
| 50 |
QGroupBox* m_shinkansen_box; |
| 51 |
}; |