2019-09-06 15:09:30 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QFormLayout;
|
|
|
|
class QGroupBox;
|
|
|
|
class QHBoxLayout;
|
|
|
|
class QLabel;
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class WiimoteEmuMotionControlIMU final : public MappingWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit WiimoteEmuMotionControlIMU(MappingWindow* window);
|
|
|
|
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
void CreateMainLayout();
|
|
|
|
|
|
|
|
// Main
|
2019-10-24 16:14:19 +00:00
|
|
|
QVBoxLayout* m_main_layout;
|
2019-09-06 15:09:30 +00:00
|
|
|
};
|