summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_vjoy
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_vjoy')
-rw-r--r--ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h b/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
index c36b15f3..b63a5492 100644
--- a/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
+++ b/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
@@ -28,13 +28,8 @@
#pragma once
#include "ftnoir_protocol_base/ftnoir_protocol_base.h"
#include "ui_ftnoir_vjoy_controls.h"
-#include <QThread>
-#include <QUdpSocket>
-#include <QMessageBox>
-#include <QSettings>
-#include <math.h>
+#include <cmath>
#include "facetracknoir/plugin-support.h"
-#include <windows.h>
#define FT_PROGRAMID "FT_ProgramID"
@@ -60,7 +55,7 @@ class VJoyControls: public QWidget, public IProtocolDialog
public:
explicit VJoyControls();
- void registerProtocol(IProtocol *l) {}
+ void registerProtocol(IProtocol *) {}
void unRegisterProtocol() {}
private:
@@ -89,6 +84,8 @@ public:
#define VJOY_AXIS_NIL 0
#define VJOY_AXIS_MAX 32767
+#include <windows.h>
+
#include <pshpack1.h>
typedef struct _JOYSTICK_STATE