2018-01-04 11:38:09 -07:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-06 16:40:15 -06:00
|
|
|
#include "DolphinQt/Config/Mapping/MappingWidget.h"
|
2018-01-04 11:38:09 -07:00
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QFormLayout;
|
|
|
|
class QGroupBox;
|
|
|
|
class QHBoxLayout;
|
|
|
|
class QLabel;
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
|
|
class GCMicrophone final : public MappingWidget
|
|
|
|
{
|
2018-05-13 14:16:20 -06:00
|
|
|
Q_OBJECT
|
2018-01-04 11:38:09 -07:00
|
|
|
public:
|
|
|
|
explicit GCMicrophone(MappingWindow* window);
|
|
|
|
|
|
|
|
InputConfig* GetConfig() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
void CreateMainLayout();
|
|
|
|
|
|
|
|
QHBoxLayout* m_main_layout;
|
|
|
|
};
|