summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_libevdev
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_libevdev')
-rw-r--r--ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp2
-rw-r--r--ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
index fc01552e..70fde395 100644
--- a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
+++ b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
@@ -70,7 +70,7 @@ FTNoIR_Protocol::~FTNoIR_Protocol()
libevdev_free(dev);
}
-void FTNoIR_Protocol::sendHeadposeToGame( double *headpose, double *rawheadpose ) {
+void FTNoIR_Protocol::sendHeadposeToGame(const double* headpose) {
static const int axes[] = {
/* translation goes first */
ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ
diff --git a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.h b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.h
index e753269e..3c6f591c 100644
--- a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.h
+++ b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.h
@@ -25,7 +25,7 @@ public:
bool checkServerInstallationOK() {
return dev != NULL;
}
- void sendHeadposeToGame( double *headpose, double *rawheadpose );
+ void sendHeadposeToGame(const double *headpose);
QString getGameName() {
return "Virtual joystick for Linux";
}
@@ -45,7 +45,7 @@ public:
void showEvent ( QShowEvent *) {}
void Initialize(QWidget *);
- void registerProtocol(IProtocol *l) {}
+ void registerProtocol(IProtocol *) {}
void unRegisterProtocol() {}
private: