summaryrefslogtreecommitdiffhomepage
path: root/proto-iokit-foohid
diff options
context:
space:
mode:
Diffstat (limited to 'proto-iokit-foohid')
-rw-r--r--proto-iokit-foohid/iokitprotocol.cpp2
-rw-r--r--proto-iokit-foohid/iokitprotocol.h2
2 files changed, 2 insertions, 2 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.);
diff --git a/proto-iokit-foohid/iokitprotocol.h b/proto-iokit-foohid/iokitprotocol.h
index 2590b382..8148e7ab 100644
--- a/proto-iokit-foohid/iokitprotocol.h
+++ b/proto-iokit-foohid/iokitprotocol.h
@@ -19,7 +19,7 @@ public:
IOKitProtocol();
module_status initialize() override;
- void pose(const double *headpose) final;
+ void pose(const double *headpose, const double*) final;
QString game_name() final;
private: