Qt: Implement button mapping dialogs
This commit is contained in:
1 parent
faae89861b
commit
33e111e92f
28 files changed
+1871
-3
No files matched your search
@@ -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