2018-01-27 06:35:02 -07:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-01-27 06:35:02 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-06 23:51:34 -06:00
|
|
|
#include "DolphinQt/TAS/TASInputWindow.h"
|
2018-01-27 06:35:02 -07:00
|
|
|
|
2018-07-06 23:51:34 -06:00
|
|
|
class QGroupBox;
|
2018-01-27 06:35:02 -07:00
|
|
|
class QSpinBox;
|
2019-03-30 20:49:57 -06:00
|
|
|
class TASCheckBox;
|
2018-01-27 06:35:02 -07:00
|
|
|
struct GCPadStatus;
|
|
|
|
|
2018-07-06 23:51:34 -06:00
|
|
|
class GCTASInputWindow : public TASInputWindow
|
2018-01-27 06:35:02 -07:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2018-01-31 04:35:09 -07:00
|
|
|
explicit GCTASInputWindow(QWidget* parent, int num);
|
2018-01-27 06:35:02 -07:00
|
|
|
void GetValues(GCPadStatus* pad);
|
|
|
|
|
|
|
|
private:
|
2019-03-30 20:49:57 -06:00
|
|
|
TASCheckBox* m_a_button;
|
|
|
|
TASCheckBox* m_b_button;
|
|
|
|
TASCheckBox* m_x_button;
|
|
|
|
TASCheckBox* m_y_button;
|
|
|
|
TASCheckBox* m_z_button;
|
|
|
|
TASCheckBox* m_l_button;
|
|
|
|
TASCheckBox* m_r_button;
|
|
|
|
TASCheckBox* m_start_button;
|
|
|
|
TASCheckBox* m_left_button;
|
|
|
|
TASCheckBox* m_up_button;
|
|
|
|
TASCheckBox* m_down_button;
|
|
|
|
TASCheckBox* m_right_button;
|
2018-01-31 04:35:09 -07:00
|
|
|
QSpinBox* m_l_trigger_value;
|
|
|
|
QSpinBox* m_r_trigger_value;
|
|
|
|
QSpinBox* m_x_main_stick_value;
|
|
|
|
QSpinBox* m_y_main_stick_value;
|
|
|
|
QSpinBox* m_x_c_stick_value;
|
|
|
|
QSpinBox* m_y_c_stick_value;
|
2018-07-06 23:51:34 -06:00
|
|
|
QGroupBox* m_main_stick_box;
|
|
|
|
QGroupBox* m_c_stick_box;
|
|
|
|
QGroupBox* m_triggers_box;
|
|
|
|
QGroupBox* m_buttons_box;
|
2018-01-27 06:35:02 -07:00
|
|
|
};
|