2018-04-13 23:51:32 -05:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-04-13 23:51:32 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
|
|
|
|
|
|
|
class HotkeyControllerProfile final : public MappingWidget
|
|
|
|
{
|
2018-05-23 22:20:58 -05:00
|
|
|
Q_OBJECT
|
2018-04-13 23:51:32 -05:00
|
|
|
public:
|
2018-05-23 22:20:58 -05:00
|
|
|
explicit HotkeyControllerProfile(MappingWindow* window);
|
2018-04-13 23:51:32 -05:00
|
|
|
|
2018-05-23 22:20:58 -05:00
|
|
|
InputConfig* GetConfig() override;
|
2018-04-13 23:51:32 -05:00
|
|
|
|
|
|
|
private:
|
2018-05-23 22:20:58 -05:00
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
void CreateMainLayout();
|
2018-04-13 23:51:32 -05:00
|
|
|
};
|