summaryrefslogtreecommitdiffhomepage
path: root/proto-iokit-foohid/iokitprotocol.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:47:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:51:51 +0200
commite36f509d2459ca74c0dc7fe2e8ea2275b88f0649 (patch)
tree2f62ae2004ef9fb2dcaceb7ded7bd404e41bbd92 /proto-iokit-foohid/iokitprotocol.cpp
parent4063f006285db0473046bde645f236c814460eb0 (diff)
api: expose raw data to protocols
Issue: #975
Diffstat (limited to 'proto-iokit-foohid/iokitprotocol.cpp')
-rw-r--r--proto-iokit-foohid/iokitprotocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-iokit-foohid/iokitprotocol.cpp b/proto-iokit-foohid/iokitprotocol.cpp
index b66aeb7b..6f163d8f 100644
--- a/proto-iokit-foohid/iokitprotocol.cpp
+++ b/proto-iokit-foohid/iokitprotocol.cpp
@@ -47,7 +47,7 @@ static uint8_t valueToStick(FooHIDJoystick *stick, double min, double value, dou
stick->minValue() + stick->range()));
}
-void IOKitProtocol::pose(const double *headpose)
+void IOKitProtocol::pose(const double *headpose, const double*)
{
const uint8_t x = valueToStick(joystick.get(), -75., headpose[0], +75.);
const uint8_t y = valueToStick(joystick.get(), -75., headpose[1], +75.);