diff options
Diffstat (limited to 'proto-iokit-foohid/iokitprotocol.cpp')
-rw-r--r-- | proto-iokit-foohid/iokitprotocol.cpp | 2 |
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.); |