History

Adjust controller offset from 6 inches to 3 inches

When using the vive controller the position of your wrist should match your actual wrist a bit better, unless your name is Shaquille O'Neal.

Shared Vive Room committed 11 years ago

Commit 3c64db51 parent ec863941 file · +1 −1Browse files

Showing the changes to libraries/input-plugins/src/input-plugins/ViveControllerManager.cpp (1 of 1 file). Show all

Unified · Split

libraries/input-plugins/src/input-plugins/ViveControllerManager.cpp+1−1
@@ -42,7 +42,7 @@ const unsigned int GRIP_BUTTON = 1U << 2; · 41 unmodified lines
4242 const unsigned int TRACKPAD_BUTTON = 1U << 3;
4343 const unsigned int TRIGGER_BUTTON = 1U << 4;
4444
45−const float CONTROLLER_LENGTH_OFFSET = 0.175f;
45+const float CONTROLLER_LENGTH_OFFSET = 0.0762f; // three inches
4646 const QString CONTROLLER_MODEL_STRING = "vr_controller_05_wireless_b";
4747
4848 const QString ViveControllerManager::NAME = "OpenVR";