summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Mapping/FreeLookRotation.h
blob: 5a73e3c10978483344185238e2fb547c75245423 (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
// Copyright 2021 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

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

class QGridLayout;

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

  InputConfig* GetConfig() override;

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

  // Main
  QGridLayout* m_main_layout;
};