From 6670355ade5c90376d3a150a2a176186ebe88bfc Mon Sep 17 00:00:00 2001 From: Philipp Stelzer Date: Thu, 1 Dec 2016 21:59:49 +0100 Subject: [PATCH] Fixed incorrect ID offset for Trigger Button Trigger Button is reported as Trackpad Click Button because of incorrect ID --- OSVRViveTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSVRViveTracker.cpp b/OSVRViveTracker.cpp index a7a5659..eb85aa0 100644 --- a/OSVRViveTracker.cpp +++ b/OSVRViveTracker.cpp @@ -71,7 +71,7 @@ namespace vive { static const auto GRIP_BUTTON_OFFSET = 2; static const auto TRACKPAD_TOUCH_BUTTON_OFFSET = 3; static const auto TRACKPAD_CLICK_BUTTON_OFFSET = 4; - static const auto TRIGGER_BUTTON_OFFSET = 4; + static const auto TRIGGER_BUTTON_OFFSET = 5; /// Offsets from the first button ID for a controller that an analog is /// reported.