Skip to content

Commit

Permalink
Merge pull request #23 from pstelzer/master
Browse files Browse the repository at this point in the history
Fixed incorrect ID offset for Trigger Button
  • Loading branch information
rpavlik authored Dec 2, 2016
2 parents 43547cb + 6670355 commit 9a0dea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OSVRViveTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9a0dea8

Please sign in to comment.