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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
889 B
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
class QComboBox;
class QLabel;
2017-05-20 15:53:17 +00:00
class WiimoteEmuExtension;
class WiimoteEmuGeneral final : public MappingWidget
{
Q_OBJECT
2017-05-20 15:53:17 +00:00
public:
explicit WiimoteEmuGeneral(MappingWindow* window, WiimoteEmuExtension* extension);
InputConfig* GetConfig() override;
private:
void LoadSettings() override;
void SaveSettings() override;
void CreateMainLayout();
void Connect();
// Index changed by code/expression.
2017-05-20 15:53:17 +00:00
void OnAttachmentChanged(int index);
// Selection chosen by user.
void OnAttachmentSelected(int index);
void ConfigChanged();
void Update();
2017-05-20 15:53:17 +00:00
// Extensions
QComboBox* m_extension_combo;
QLabel* m_extension_combo_dynamic_indicator;
2017-05-20 15:53:17 +00:00
WiimoteEmuExtension* m_extension_widget;
};