| 1 | #pragma once |
| 2 | // Copyright 2023 Dolphin Emulator Project |
| 3 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 4 | |
| 5 | #pragma once |
| 6 | |
| 7 | #include "DolphinQt/Config/Mapping/MappingWidget.h" |
| 8 | |
| 9 | class QHBoxLayout; |
| 10 | |
| 11 | class HotkeyUSBEmu final : public MappingWidget |
| 12 | { |
| 13 | Q_OBJECT |
| 14 | public: |
| 15 | explicit HotkeyUSBEmu(MappingWindow* window); |
| 16 | |
| 17 | InputConfig* GetConfig() override; |
| 18 | |
| 19 | private: |
| 20 | void LoadSettings() override; |
| 21 | void SaveSettings() override; |
| 22 | void CreateMainLayout(); |
| 23 | |
| 24 | // Main |
| 25 | QHBoxLayout* m_main_layout; |
| 26 | }; |