u/hand: Fix finger ordering

This commit is contained in:
Moses Turner 2022-08-22 00:17:49 +01:00 committed by Jakob Bornecrantz
parent 1b02783113
commit 4de631285b

View file

@ -415,7 +415,7 @@ u_hand_sim_simulate_for_valve_index_knuckles(const struct u_hand_tracking_curl_v
hand.thumb.rotations[1] += values->thumb * -1.f;
// Index finger - this is treated differently on Valve Knuckles controllers so the pinch gesture feels good
float finger_values[4] = {values->index, values->middle, values->little, values->ring};
float finger_values[4] = {values->index, values->middle, values->ring, values->little};
{
int finger = 0;