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
42const unsigned int TRACKPAD_BUTTON = 1U << 3;42const unsigned int TRACKPAD_BUTTON = 1U << 3;
43const unsigned int TRIGGER_BUTTON = 1U << 4;43const unsigned int TRIGGER_BUTTON = 1U << 4;
44 44
45const float CONTROLLER_LENGTH_OFFSET = 0.175f;45const float CONTROLLER_LENGTH_OFFSET = 0.0762f; // three inches
46const QString CONTROLLER_MODEL_STRING = "vr_controller_05_wireless_b";46const QString CONTROLLER_MODEL_STRING = "vr_controller_05_wireless_b";
47 47
48const QString ViveControllerManager::NAME = "OpenVR";48const QString ViveControllerManager::NAME = "OpenVR";