Don't send haptics when focusing with hand

This commit is contained in:
Patrick Nicolas
2024-04-12 16:13:31 +02:00
parent 9722ce9831
commit e1a6d4c40a
3 changed files with 43 additions and 29 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ public:
XrAction scroll; // XR_ACTION_TYPE_VECTOR2F_INPUT
// TODO: thresholds?
xr::hand_tracker & hand;
xr::hand_tracker * hand = nullptr;
};
struct controller_state