2018-01-27 13:35:02 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-07 05:51:34 +00:00
|
|
|
#include "DolphinQt/TAS/TASInputWindow.h"
|
2018-01-27 13:35:02 +00:00
|
|
|
|
|
|
|
class QCheckBox;
|
2018-07-07 05:51:34 +00:00
|
|
|
class QGroupBox;
|
2018-01-27 13:35:02 +00:00
|
|
|
class QSpinBox;
|
|
|
|
struct GCPadStatus;
|
|
|
|
|
2018-07-07 05:51:34 +00:00
|
|
|
class GCTASInputWindow : public TASInputWindow
|
2018-01-27 13:35:02 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2018-01-31 11:35:09 +00:00
|
|
|
explicit GCTASInputWindow(QWidget* parent, int num);
|
2018-01-27 13:35:02 +00:00
|
|
|
void GetValues(GCPadStatus* pad);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QCheckBox* m_a_button;
|
|
|
|
QCheckBox* m_b_button;
|
|
|
|
QCheckBox* m_x_button;
|
|
|
|
QCheckBox* m_y_button;
|
|
|
|
QCheckBox* m_z_button;
|
|
|
|
QCheckBox* m_l_button;
|
|
|
|
QCheckBox* m_r_button;
|
|
|
|
QCheckBox* m_start_button;
|
|
|
|
QCheckBox* m_left_button;
|
|
|
|
QCheckBox* m_up_button;
|
|
|
|
QCheckBox* m_down_button;
|
|
|
|
QCheckBox* m_right_button;
|
2018-01-31 11:35:09 +00: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-07 05:51:34 +00:00
|
|
|
QGroupBox* m_main_stick_box;
|
|
|
|
QGroupBox* m_c_stick_box;
|
|
|
|
QGroupBox* m_triggers_box;
|
|
|
|
QGroupBox* m_buttons_box;
|
2018-01-27 13:35:02 +00:00
|
|
|
};
|