2019-10-22 17:49:48 -06:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-10-22 17:49:48 -06:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
|
|
|
|
2019-10-26 10:05:16 -06:00
|
|
|
#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT)
|
|
|
|
class DualShockUDPClientWidget;
|
2019-10-22 17:49:48 -06:00
|
|
|
#endif
|
|
|
|
class QTabWidget;
|
|
|
|
class QDialogButtonBox;
|
|
|
|
|
|
|
|
class ControllerInterfaceWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit ControllerInterfaceWindow(QWidget* parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateMainLayout();
|
|
|
|
|
|
|
|
QTabWidget* m_tab_widget;
|
|
|
|
QDialogButtonBox* m_button_box;
|
|
|
|
|
2019-10-26 10:05:16 -06:00
|
|
|
#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT)
|
|
|
|
DualShockUDPClientWidget* m_dsuclient_widget;
|
2019-10-22 17:49:48 -06:00
|
|
|
#endif
|
|
|
|
};
|