From e36f509d2459ca74c0dc7fe2e8ea2275b88f0649 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 22 Sep 2019 16:47:59 +0200 Subject: api: expose raw data to protocols Issue: #975 --- proto-libevdev/ftnoir_protocol_libevdev.cpp | 2 +- proto-libevdev/ftnoir_protocol_libevdev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-libevdev') diff --git a/proto-libevdev/ftnoir_protocol_libevdev.cpp b/proto-libevdev/ftnoir_protocol_libevdev.cpp index 72c05dc5..5b07beff 100644 --- a/proto-libevdev/ftnoir_protocol_libevdev.cpp +++ b/proto-libevdev/ftnoir_protocol_libevdev.cpp @@ -102,7 +102,7 @@ evdev::~evdev() libevdev_free(dev); } -void evdev::pose(const double* headpose) { +void evdev::pose(const double* headpose, const double*) { static const int axes[] = { /* translation goes first */ ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ diff --git a/proto-libevdev/ftnoir_protocol_libevdev.h b/proto-libevdev/ftnoir_protocol_libevdev.h index 34032396..0b0f2612 100644 --- a/proto-libevdev/ftnoir_protocol_libevdev.h +++ b/proto-libevdev/ftnoir_protocol_libevdev.h @@ -21,7 +21,7 @@ class evdev : public TR, public IProtocol public: evdev(); ~evdev() override; - void pose(const double *headpose) override; + void pose(const double *headpose, const double*) override; QString game_name() override { return tr("Virtual joystick for Linux"); } module_status initialize() override; -- cgit v1.2.3