summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick
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-vjoystick
parent4063f006285db0473046bde645f236c814460eb0 (diff)
api: expose raw data to protocols
Issue: #975
Diffstat (limited to 'proto-vjoystick')
-rw-r--r--proto-vjoystick/vjoystick.cpp2
-rw-r--r--proto-vjoystick/vjoystick.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-vjoystick/vjoystick.cpp b/proto-vjoystick/vjoystick.cpp
index e49a2756..f322ced9 100644
--- a/proto-vjoystick/vjoystick.cpp
+++ b/proto-vjoystick/vjoystick.cpp
@@ -164,7 +164,7 @@ module_status vjoystick::initialize()
return {};
}
-void vjoystick::pose(const double *pose)
+void vjoystick::pose(const double *pose, const double*)
{
if (first_run)
{
diff --git a/proto-vjoystick/vjoystick.h b/proto-vjoystick/vjoystick.h
index 7e119b21..39bc14e3 100644
--- a/proto-vjoystick/vjoystick.h
+++ b/proto-vjoystick/vjoystick.h
@@ -22,7 +22,7 @@ public:
vjoystick();
~vjoystick() override;
module_status initialize() override;
- void pose( const double *headpose ) override;
+ void pose(const double* headpose, const double*) override;
QString game_name() override { return tr("Virtual joystick"); }
private: