diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-22 16:47:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-22 16:51:51 +0200 |
commit | e36f509d2459ca74c0dc7fe2e8ea2275b88f0649 (patch) | |
tree | 2f62ae2004ef9fb2dcaceb7ded7bd404e41bbd92 /proto-libevdev | |
parent | 4063f006285db0473046bde645f236c814460eb0 (diff) |
api: expose raw data to protocols
Issue: #975
Diffstat (limited to 'proto-libevdev')
-rw-r--r-- | proto-libevdev/ftnoir_protocol_libevdev.cpp | 2 | ||||
-rw-r--r-- | proto-libevdev/ftnoir_protocol_libevdev.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |