summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick/vjoystick.cpp
diff options
context:
space:
mode:
authormrsanchos <orokhovatskiy@gmail.com>2018-02-16 21:05:36 +0300
committermrsanchos <orokhovatskiy@gmail.com>2018-02-16 21:05:36 +0300
commitb52fd95f1cc86e86ecb696eab07c8d6b6a2e9f5d (patch)
treea8d5a8c98d8ca3b60b0805504049275a3311f59b /proto-vjoystick/vjoystick.cpp
parent82c43da829fdac974b3d6adb8742715382ddd051 (diff)
parent7a973ae2ad396c8413405e40bcb2eaab67c95d15 (diff)
Merge branch 'unstable' of https://github.com/opentrack/opentrack into unstable
Diffstat (limited to 'proto-vjoystick/vjoystick.cpp')
-rw-r--r--proto-vjoystick/vjoystick.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/proto-vjoystick/vjoystick.cpp b/proto-vjoystick/vjoystick.cpp
index 73cf74c6..e5e18157 100644
--- a/proto-vjoystick/vjoystick.cpp
+++ b/proto-vjoystick/vjoystick.cpp
@@ -39,7 +39,15 @@ const unsigned char handle::axis_ids[6] =
// HID_USAGE_WHL,
};
-constexpr double handle::val_minmax[6];
+static const double val_minmax[6] =
+{
+ 50,
+ 50,
+ 50,
+ 180,
+ 180,
+ 180
+};
void handle::init()
{