summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-16 23:30:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:16:11 +0200
commitda46cf18a2c7ad56c53e9c02014f75c818d39ea3 (patch)
tree4fd27ab33e03ecff2859c363e2cd77b69791ec71 /ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
parent8905749b7949f10a3635faa13b44cba01a6edbe4 (diff)
change protocol ABI: sprinkle const. ABI BREAKAGE!
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp')
-rw-r--r--ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp2
1 files changed, 1 insertions, 1 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