summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick/vjoystick_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-08 16:12:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-08 16:14:12 +0200
commit744574a36be2914c6d4641a9fa6e76359a4e218e (patch)
treef85c0c028f93bb1362e95d4b636faaa4e0bc35da /proto-vjoystick/vjoystick_dialog.cpp
parent5598520e24e978b55428f6da4a5dd9617844f152 (diff)
proto/vjoystick: add new vjoystick protocol to replace vjoy
Diffstat (limited to 'proto-vjoystick/vjoystick_dialog.cpp')
-rw-r--r--proto-vjoystick/vjoystick_dialog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/proto-vjoystick/vjoystick_dialog.cpp b/proto-vjoystick/vjoystick_dialog.cpp
new file mode 100644
index 00000000..136e898b
--- /dev/null
+++ b/proto-vjoystick/vjoystick_dialog.cpp
@@ -0,0 +1,8 @@
+#include "vjoystick.h"
+#include "opentrack/plugin-api.hpp"
+
+vjoystick_dialog::vjoystick_dialog()
+{
+ ui.setupUi(this);
+ connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &QWidget::close);
+}