mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Move DolphinQt2 to DolphinQt
This commit is contained in:
35
Source/Core/DolphinQt/Config/Mapping/WiimoteEmuGeneral.h
Normal file
35
Source/Core/DolphinQt/Config/Mapping/WiimoteEmuGeneral.h
Normal file
@ -0,0 +1,35 @@
|
||||
// Copyright 2017 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
||||
|
||||
class QComboBox;
|
||||
class QHBoxLayout;
|
||||
class WiimoteEmuExtension;
|
||||
|
||||
class WiimoteEmuGeneral final : public MappingWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
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