blob: d71d237618806b92a1bb84ff84b72a906e773dee (
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
31
32
33
34
35
36
37
38
39
|
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <QDialog>
class QCheckBox;
class QLabel;
class QDialogButtonBox;
class QVBoxLayout;
class GCPadWiiUConfigDialog final : public QDialog
{
Q_OBJECT
public:
explicit GCPadWiiUConfigDialog(int port, QWidget* parent = nullptr);
private:
void LoadSettings();
void SaveSettings();
void CreateLayout();
void ConnectWidgets();
private:
void UpdateAdapterStatus();
int m_port;
QVBoxLayout* m_layout;
QLabel* m_status_label;
QLabel* m_poll_rate_label;
QDialogButtonBox* m_button_box;
// Checkboxes
QCheckBox* m_rumble;
QCheckBox* m_simulate_bongos;
};
|