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

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

52 lines
1.2 KiB
C
Raw Normal View History

2017-05-20 15:53:17 +00:00
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2017-05-20 15:53:17 +00:00
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();
2022-09-10 18:58:52 +00:00
void CreateShinkansenLayout();
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;
2022-09-10 18:58:52 +00:00
QGroupBox* m_shinkansen_box;
2017-05-20 15:53:17 +00:00
};