summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Mapping/WiimoteEmuMotionControl.h
blob: 4b5428b02e395161b964c725ccb6fd15dd5d1a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "DolphinQt/Config/Mapping/MappingWidget.h"

class QCheckBox;
class QFormLayout;
class QGroupBox;
class QHBoxLayout;
class QLabel;
class QVBoxLayout;

class WiimoteEmuMotionControl final : public MappingWidget
{
  Q_OBJECT
public:
  explicit WiimoteEmuMotionControl(MappingWindow* window);

  InputConfig* GetConfig() override;

private:
  void LoadSettings() override;
  void SaveSettings() override;
  void CreateMainLayout();

  // Main
  QHBoxLayout* m_main_layout;
};