31 lines
597 B
C++
31 lines
597 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt2/Config/Mapping/MappingWidget.h"
|
|
|
|
class QCheckBox;
|
|
class QFormLayout;
|
|
class QGroupBox;
|
|
class QHBoxLayout;
|
|
class QLabel;
|
|
class QVBoxLayout;
|
|
|
|
class WiimoteEmuMotionControl final : public MappingWidget
|
|
{
|
|
public:
|
|
explicit WiimoteEmuMotionControl(MappingWindow* window);
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
private:
|
|
void LoadSettings() override;
|
|
void SaveSettings() override;
|
|
void CreateMainLayout();
|
|
|
|
// Main
|
|
QHBoxLayout* m_main_layout;
|
|
};
|