aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra_qt/config/controller_config.h
diff options
context:
space:
mode:
authorGravatar chrisvj <chrisvanderjagt@gmail.com>2015-01-03 15:51:14 -0800
committerGravatar chrisvj <chrisvanderjagt@gmail.com>2015-01-06 04:51:54 -0800
commitb0a14cfe7f0075d0758371276b7f6384856aa6ff (patch)
tree1c7c0f0f9c707138a0a7f37583c0ef31cd94bec3 /src/citra_qt/config/controller_config.h
parent9c8b867d86612a04bc0e563831d1d0feee9ffe89 (diff)
citra-qt: Renamed all .hxx headers to .h
Diffstat (limited to 'src/citra_qt/config/controller_config.h')
-rw-r--r--src/citra_qt/config/controller_config.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/citra_qt/config/controller_config.h b/src/citra_qt/config/controller_config.h
new file mode 100644
index 00000000..451593de
--- /dev/null
+++ b/src/citra_qt/config/controller_config.h
@@ -0,0 +1,56 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#ifndef _CONTROLLER_CONFIG_HXX_
+#define _CONTROLLER_CONFIG_HXX_
+
+#include <QDialog>
+
+//#include "ui_controller_config.h"
+
+/* TODO(bunnei): ImplementMe
+
+#include "config.h"
+
+class GControllerConfig : public QWidget
+{
+ Q_OBJECT
+
+public:
+ GControllerConfig(common::Config::ControllerPort* initial_config, QWidget* parent = NULL);
+
+ const common::Config::ControllerPort& GetControllerConfig(int index) const { return config[index]; }
+
+signals:
+ void ActivePortChanged(const common::Config::ControllerPort&);
+
+public slots:
+ void OnKeyConfigChanged(common::Config::Control id, int key, const QString& name);
+
+private:
+ int GetActiveController();
+ bool InputSourceJoypad();
+
+ Ui::ControllerConfig ui;
+ common::Config::ControllerPort config[4];
+};
+
+class GControllerConfigDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ GControllerConfigDialog(common::Config::ControllerPort* controller_ports, QWidget* parent = NULL);
+
+public slots:
+ void EnableChanges();
+
+private:
+ GControllerConfig* config_widget;
+ common::Config::ControllerPort* config_ptr;
+};
+
+*/
+
+#endif // _CONTROLLER_CONFIG_HXX_