Qt: Implement GC TAS input window

This commit is contained in:
Rukai
2018-01-28 00:35:02 +11:00
committed by Lucas Kent
parent 1e8f4ce84f
commit 3f1ffbad0d
13 changed files with 509 additions and 0 deletions

View File

@ -0,0 +1,41 @@
// Copyright 2018 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QDialog>
#include "Common/CommonTypes.h"
class QCheckBox;
class QSpinBox;
struct GCPadStatus;
class GCTASInputWindow : public QDialog
{
Q_OBJECT
public:
explicit GCTASInputWindow(QWidget* parent);
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;
QSpinBox* m_l_trigger_byte;
QSpinBox* m_r_trigger_byte;
QSpinBox* m_x_main_stick_byte;
QSpinBox* m_y_main_stick_byte;
QSpinBox* m_x_c_stick_byte;
QSpinBox* m_y_c_stick_byte;
};