mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Qt: Implement button mapping dialogs
This commit is contained in:
31
Source/Core/DolphinQt2/Config/Mapping/WiimoteEmuGeneral.h
Normal file
31
Source/Core/DolphinQt2/Config/Mapping/WiimoteEmuGeneral.h
Normal file
@ -0,0 +1,31 @@
|
||||
// Copyright 2017 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinQt2/Config/Mapping/MappingWidget.h"
|
||||
|
||||
class QComboBox;
|
||||
class WiimoteEmuExtension;
|
||||
|
||||
class WiimoteEmuGeneral final : public MappingWidget
|
||||
{
|
||||
public:
|
||||
explicit WiimoteEmuGeneral(MappingWindow* window, WiimoteEmuExtension* extension);
|
||||
|
||||
InputConfig* GetConfig() override;
|
||||
|
||||
private:
|
||||
void LoadSettings() override;
|
||||
void SaveSettings() override;
|
||||
void CreateMainLayout();
|
||||
void Connect();
|
||||
void OnAttachmentChanged(int index);
|
||||
|
||||
// Main
|
||||
QHBoxLayout* m_main_layout;
|
||||
|
||||
// Extensions
|
||||
QComboBox* m_extension_combo;
|
||||
|
||||
WiimoteEmuExtension* m_extension_widget;
|
||||
};
|
Reference in New Issue
Block a user