31 lines
564 B
C++
31 lines
564 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
|
|
|
class QCheckBox;
|
|
class QFormLayout;
|
|
class QGroupBox;
|
|
class QHBoxLayout;
|
|
class QLabel;
|
|
class QVBoxLayout;
|
|
|
|
class GCKeyboardEmu final : public MappingWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GCKeyboardEmu(MappingWindow* window);
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
private:
|
|
void LoadSettings() override;
|
|
void SaveSettings() override;
|
|
void CreateMainLayout();
|
|
|
|
// Main
|
|
QHBoxLayout* m_main_layout;
|
|
};
|