2017-05-20 15:53:17 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// 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
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QFormLayout;
|
|
|
|
class QGroupBox;
|
|
|
|
class QHBoxLayout;
|
|
|
|
class QLabel;
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class GCKeyboardEmu final : public MappingWidget
|
|
|
|
{
|
2018-05-13 20:16:20 +00:00
|
|
|
Q_OBJECT
|
2017-05-20 15:53:17 +00:00
|
|
|
public:
|
|
|
|
explicit GCKeyboardEmu(MappingWindow* window);
|
|
|
|
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
void CreateMainLayout();
|
|
|
|
|
|
|
|
// Main
|
|
|
|
QHBoxLayout* m_main_layout;
|
|
|
|
};
|