summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick/vjoystick.cpp
diff options
context:
space:
mode:
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()
{