2019-10-22 23:49:48 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
|
|
|
|
2019-10-26 16:05:16 +00:00
|
|
|
#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT)
|
|
|
|
class DualShockUDPClientWidget;
|
2019-10-22 23:49:48 +00: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 16:05:16 +00:00
|
|
|
#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT)
|
|
|
|
DualShockUDPClientWidget* m_dsuclient_widget;
|
2019-10-22 23:49:48 +00:00
|
|
|
#endif
|
|
|
|
};
|