diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2019-10-28 16:39:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-28 16:39:10 +0100 |
| commit | 1f3d1a9b7fa2d4729ddadfc0fc923c7730a00a49 (patch) | |
| tree | 59c9aac33c104d3dc5b4039773b876cd6c389b4f /Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h | |
| parent | a825e7e09f8a39772b10c83db5322dc88e0f591f (diff) | |
| parent | da1f153b47a3f3f4eb9b976670bfddf68108bae9 (diff) | |
Merge pull request #8352 from rlnilsen/motion-controller-support-via-cemuhook-protocol
Support for motion controllers like the DualShock 4
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h')
| -rw-r--r-- | Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h b/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h new file mode 100644 index 0000000000..792cc97c25 --- /dev/null +++ b/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.h @@ -0,0 +1,32 @@ +// Copyright 2019 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#pragma once + +#include <QDialog> + +#include "InputCommon/ControllerInterface/ControllerInterface.h" + +#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT) +class DualShockUDPClientWidget; +#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; + +#if defined(CIFACE_USE_DUALSHOCKUDPCLIENT) + DualShockUDPClientWidget* m_dsuclient_widget; +#endif +}; |
