Commit Graph
580 Commits
Author SHA1 Message Date
Sapphire 717e93846a Unset derived poses for hand interaction 2025-07-09 10:33:32 +02:00
Sapphire c682f8cd9f Make hand interaction a different xdev
* Don't override hands from other drivers on interaction profile change

* Rename *_hand to *_controller

* Fix derived pose and tracking control desync with hand interaction

* Reset pose history on switch from hand interaction, code cleanup
2025-07-09 10:33:32 +02:00
Sapphire 8f0ca7b04c Forward XR_EXT_hand_interaction
* Fix binds

* hand_interaction tids
2025-07-09 10:33:32 +02:00
Patrick Nicolas ecf6dfd215 Reallocate swapchains if a bigger one is needed 2025-07-08 08:59:17 +02:00
Guillaume Meunier 8686233b49 Fix depth test in lobby on Quest 3 2025-07-06 10:26:12 +02:00
Guillaume Meunier be504b5944 Add controller offset for Quest 3 2025-07-06 09:42:51 +02:00
Guillaume Meunier c9e078bd47 Avoid segfault if xrCreatePassthroughFB fails 2025-07-06 09:12:41 +02:00
Patrick Nicolas b66ca2e561 Ignore visibility mask errors on connection 2025-07-05 19:53:49 +02:00
Sapphire 5bfc9ed942 Forward session state to server
Closes #395
2025-07-05 15:41:22 +02:00
Patrick Nicolas 8e2719ff30 Update NDK to 28 2025-07-04 23:43:39 +02:00
Sapphire 3ac31fe5cc Forward XR_EXT_user_presence
Closes #258
2025-07-04 23:43:06 +02:00
Sapphire 42c57b61e2 Revert "Fix meta handtracking thumb rotation offset"
Thumb joint rotations are correct when requesting OpenXR 1.1 on Quest,
this is no longer needed.

This reverts commit e0a1598ac5.
2025-07-03 09:26:02 +02:00
Sapphire 88f0f52afe Use grip_surface pose for palms when supported 2025-07-03 09:26:02 +02:00
Sapphire 66878a259d fix add_space locate_spaces check, load xrLocateSpacesKHR on OpenXR 1.0 if supported 2025-07-03 09:26:02 +02:00
Patrick Nicolas 1ad015ff65 Use xrLocateSpaces when runtime has OpenXR 1.1 2025-07-02 22:13:35 +02:00
Patrick Nicolas 3a33adbd86 Remove Quest/simple_controller hack
Just don't suggest bindings for simple controller on Quest
2025-07-02 21:55:27 +02:00
Patrick Nicolas 2ba3d78cd4 Try to request OpenXR 1.1 2025-07-02 21:55:27 +02:00
Guillaume Meunier a2837904cc Fix ray visibility 2025-07-01 21:45:33 +02:00
Sapphire 8dc2b7a5e0 Store face tracker in variant 2025-06-30 11:34:34 +02:00
Sapphire dd4d442f43 Fix set_mic_state typo 2025-06-30 11:34:34 +02:00
Sapphire 2250143f00 Don't send poses for khr/simple_controller on Quest when hand tracking data is invalid 2025-06-28 10:29:46 +02:00
Patrick Nicolas dbcf4f99f7 Add missing right/squeeze for touch pro controller 2025-06-25 19:20:30 +02:00
ჼ d459c9489e Update hardware.cpp 2025-06-25 12:33:09 +02:00
Patrick Nicolas 4ee47ab5d4 cleanup unused xr::passthrough 2025-06-22 09:37:46 +02:00
Patrick Nicolas 0fba21addf Fix touch plus/pro controller bindings 2025-06-22 09:37:46 +02:00
Patrick Nicolas ab921c213c minor simplification 2025-06-17 18:10:23 +02:00
Patrick Nicolas 169e8bf206 Check protocol compatibility on handshake 2025-06-17 09:31:30 +02:00
Sapphire cdba101fe8 Remove htc and pico body tracking tooltips 2025-06-16 19:42:36 +02:00
Sapphire eb0aa46b83 Store body trackers in variant 2025-06-16 19:42:36 +02:00
SapphireandAwzri ad136eae43 Vive Ultimate Tracker support
Co-authored-by: Awzri <awzri@awzricat.com>
2025-06-16 19:42:36 +02:00
Sapphire cc8092dd90 Cleanup body tracking 2025-06-10 09:38:49 +02:00
Patrick Nicolas 24c38e2a02 Move assert in body tracker destructor 2025-06-09 19:26:30 +02:00
Patrick Nicolas 18d1619d20 Don't crash on bigger than recommended image 2025-06-09 16:26:56 +02:00
Sapphire bfd102831e workaround quest runtime bugs 2025-06-08 18:07:23 +02:00
Sapphire 9bb11ae693 Change body tracking tooltip 2025-06-08 18:07:23 +02:00
Sapphire 2fc35832b9 cleanup 2025-06-08 18:07:23 +02:00
Sapphire 7bf24565d9 Set orientation/position tracked bits when valid for FB body tracking
Quest runtime appears to not set these bits even while the orientation
and position are being tracked.
2025-06-08 18:07:23 +02:00
Sapphire ecfda51852 Don't forward shoulder joints 2025-06-08 18:07:23 +02:00
Sapphire 40f02b9404 Add hip tracking toggle for fb body tracking
* Only forward hip joint from FB_body_tracking when lower body is enabled

* Fix body tracking tooltips being too wide
2025-06-08 18:07:23 +02:00
Sapphire 1d6b444ec6 Use separate packet to send generic tracker poses 2025-06-08 18:07:23 +02:00
Sapphire 460fbec06d Quest and Pico body tracking
* Update OpenXR SDK to 1.1.48
2025-06-08 18:07:23 +02:00
Patrick Nicolas 64b446c0d8 Rewrite foveation to enforce pixel alignment
foveation now uses integer pixel ratios, and tries to follow the
previous tangent function.
2025-06-06 20:04:40 +02:00
Sapphire 53a6efe27a Cleanup pico face error handling, remove stale workaround 2025-06-01 10:21:47 +02:00
Sapphire 248a533d0e Assume ft is available on pico when XR_EXT_eye_gaze_interaction is supported 2025-06-01 10:21:47 +02:00
Sapphire bd2f6a632e Defer pico face tracking start until stream begins 2025-06-01 10:21:47 +02:00
Sapphire e2d9641019 Fix eye look blendshapes 2025-06-01 10:21:47 +02:00
Sapphire b24c6e5ea1 Move pico->fb2 mapping to client 2025-06-01 10:21:47 +02:00
Sapphire cd72cf68b0 Add debug log when receiving pico face tracking info 2025-06-01 10:21:47 +02:00
Sapphire f7b77d21b8 Try to initialize face tracking again on xrGetFaceTrackingDataPICO failure 2025-06-01 10:21:47 +02:00
Sapphire 5bf4da0c50 Fix Pico model detection 2025-06-01 10:21:47 +02:00