mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: Implement button mapping dialogs
This commit is contained in:
34
Source/Core/DolphinQt2/Config/Mapping/GCKeyboardEmu.h
Normal file
34
Source/Core/DolphinQt2/Config/Mapping/GCKeyboardEmu.h
Normal file
@ -0,0 +1,34 @@
|
||||
// Copyright 2017 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinQt2/Config/Mapping/MappingWidget.h"
|
||||
|
||||
class QCheckBox;
|
||||
class QFormLayout;
|
||||
class QGroupBox;
|
||||
class QHBoxLayout;
|
||||
class QLabel;
|
||||
class QVBoxLayout;
|
||||
|
||||
class GCKeyboardEmu final : public MappingWidget
|
||||
{
|
||||
public:
|
||||
explicit GCKeyboardEmu(MappingWindow* window);
|
||||
|
||||
InputConfig* GetConfig() override;
|
||||
|
||||
private:
|
||||
void LoadSettings() override;
|
||||
void SaveSettings() override;
|
||||
void CreateButtonsLayout();
|
||||
void CreateControlstickLayout();
|
||||
void CreateCStickLayout();
|
||||
void CreateTriggersLayout();
|
||||
void CreateDPadLayout();
|
||||
void CreateMainLayout();
|
||||
void ConnectWidgets();
|
||||
|
||||
// Main
|
||||
QHBoxLayout* m_main_layout;
|
||||
};
|
Reference in New Issue
Block a user