| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "DolphinQt/Config/Mapping/MappingWidget.h" |
| 7 |
|
| 8 |
class QComboBox; |
| 9 |
class QLabel; |
| 10 |
class WiimoteEmuExtension; |
| 11 |
|
| 12 |
class WiimoteEmuGeneral final : public MappingWidget |
| 13 |
{ |
| 14 |
Q_OBJECT |
| 15 |
public: |
| 16 |
explicit WiimoteEmuGeneral(MappingWindow* window, WiimoteEmuExtension* extension); |
| 17 |
|
| 18 |
InputConfig* GetConfig() override; |
| 19 |
|
| 20 |
private: |
| 21 |
void LoadSettings() override; |
| 22 |
void SaveSettings() override; |
| 23 |
void CreateMainLayout(); |
| 24 |
void Connect(); |
| 25 |
|
| 26 |
|
| 27 |
void OnAttachmentChanged(int index); |
| 28 |
|
| 29 |
void OnAttachmentSelected(int index); |
| 30 |
|
| 31 |
void ConfigChanged(); |
| 32 |
void Update(); |
| 33 |
|
| 34 |
|
| 35 |
QComboBox* m_extension_combo; |
| 36 |
QLabel* m_extension_combo_dynamic_indicator; |
| 37 |
QPushButton* m_configure_ext_button; |
| 38 |
|
| 39 |
WiimoteEmuExtension* m_extension_widget; |
| 40 |
}; |