The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/steamvr_lh: Fix disabling of hand simulation

+2 -2
+2 -2
src/xrt/drivers/steamvr_lh/device.cpp
··· 253 253 inputs_map.insert({path, &inputs_vec.back()}); 254 254 } 255 255 256 - has_index_hand_tracking = !input_class->finger_curls.empty(); 257 - if (debug_get_bool_option_lh_emulate_hand() && has_index_hand_tracking) { 256 + has_index_hand_tracking = debug_get_bool_option_lh_emulate_hand() && !input_class->finger_curls.empty(); 257 + if (has_index_hand_tracking) { 258 258 finger_inputs_vec.reserve(input_class->finger_curls.size()); 259 259 for (const auto &[path, finger] : input_class->finger_curls) { 260 260 assert(finger_inputs_vec.capacity() >= finger_inputs_vec.size() + 1);