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