Commit Graph
124 Commits
Author SHA1 Message Date
galister 76da2e1cb7 client: support XR_META_foveation_eye_tracked (#1123) 2026-10-22 18:52:55 +02:00
Patrick Nicolas a98410bae0 Forward hand tracking data source 2026-10-16 18:30:38 +02:00
Patrick Nicolas 879c50c743 Add back unused-variable warning 2026-10-16 08:03:21 +02:00
konsti219 0d9e6e121a linux client: add battery reporting 2026-10-01 23:19:53 +02:00
moi952 85f6cb0bd9 feat(client): add per-posture player height offset setting (#1121) 2026-09-29 23:21:55 +02:00
galister ee0d667105 client: xrHandTrackingDataSourceExt to filter out controller-based HT 2026-09-27 17:14:33 +09:00
galister 596e661d7e add frame controller profile 2026-09-27 17:14:33 +09:00
SapphireandGuillaume Meunier 1cc61fd07a Make virtual tracker xdevs toggleable
Co-authored-by: Guillaume Meunier <[email protected]>
2026-07-10 14:52:50 -05:00
Sapphire 534b4c23e3 Use shared pose_flags enum in packets 2026-07-10 13:22:13 -05:00
Sapphire 2e28b0a4ad Forward body skeletons from headset 2026-07-10 13:22:05 -05:00
JR Lanteigne aeecc857de Add gamepad forwarding through OpenXR
Forward a gamepad paired to the headset to the server. Useful when the controller is in range of the headset but not the server, such as a DualSense paired to a Quest over Bluetooth.

The headset reads the gamepad through the OpenXR microsoft/xbox_controller profile and forwards it on the existing input rails: gamepad device ids in the inputs packet, plus a gamepad entry in the interaction profile array that signals connection and disconnection from the tracking thread.

The server exposes a native OpenXR gamepad at /user/gamepad, connected while the headset reports a gamepad interaction profile. This needs no permission and is always available.

Rumble is sent back to the headset and applied through OpenXR haptics.
2026-07-08 19:10:50 +02:00
EasonZxp 28c72c8e64 Add PFDM MR controller support 2026-05-26 10:52:34 +02:00
Patrick Nicolas f3ebe5798e Silence maybe unitialized warnings 2026-05-16 17:03:30 +02:00
Amanda M. Watson b9f2fde119 refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp 2026-05-10 19:11:17 +02:00
Patrick Nicolas 1b9b74cce1 Revert to explicit hmd_traits initialization 2026-05-10 19:11:17 +02:00
Patrick Nicolas d8fbbb23ab Remove model enum, change Quest default power mode
Store all quirks in the hmd_traits object
2026-05-10 19:11:17 +02:00
caszuu a823df96d3 add server error messages 2026-02-27 16:03:18 +01:00
Patrick Nicolas 6c202db59e Update derived poses 1s after interaction profile
Also ignore it for hand interaction
2026-02-15 00:02:17 +01:00
Sapphire 87b11d6817 Don't send empty HEAD pose on failed xrLocateSpace 2026-02-11 09:08:05 +01:00
Patrick Nicolas 6b407a2d1c re-fix eye tracked foveation on Pico 2026-02-09 15:14:48 +01:00
Patrick Nicolas e1392fef3a Request gaze relative to world on Pico devices 2026-02-08 08:52:02 +01:00
Patrick Nicolas 3285a485e8 Send hand data even if hand is not visible 2026-02-04 10:25:32 +01:00
Patrick Nicolas 67f4ced505 Store eye gaze relative to view 2026-02-04 09:37:26 +01:00
Patrick Nicolas 3a1f47285a Clear face tracking data in polling loop 2026-02-03 08:02:45 +01:00
Patrick Nicolas ead0150932 More coherent face tracking timestamps 2026-02-03 08:02:45 +01:00
Patrick Nicolas c0b78c1ec4 Don't drop face tracking packets 2026-02-03 08:02:45 +01:00
Patrick Nicolas f3cfa0d747 fix (hackish) for eye-tracked foveation 2026-01-29 22:06:03 +01:00
Patrick Nicolas fc01002317 Control the tracking loop from server side
On server side, collect each tracking request, create an explicit pattern
describing how the client shall execute them.
2026-01-29 09:51:52 +01:00
Guillaume Meunier 317cd6bb91 Compress quaternions in hand tracking packets 2026-01-16 18:01:05 +01:00
Patrick Nicolas bf811ac65d add obsolete interaction profile bindings 2025-12-09 17:49:31 +01:00
Sapphire db622b4252 Derive pinch and poke poses for non hand_interaction profiles from grip 2025-12-09 04:10:40 -05:00
galister 2063cae3ae keyboard & mouse forwarding 2025-11-11 21:12:01 +01:00
Patrick Nicolas 59e3d41305 unordered_map heterogeneous access 2025-11-06 21:38:09 +01:00
Patrick Nicolas 48c9bf0726 Remove xr.h 2025-08-20 22:11:43 +02:00
Patrick Nicolas d2ea30e70f Remove unused variable 2025-08-20 22:07:08 +02:00
Patrick Nicolas 9f80c1da7c Remove body trackers from application.h 2025-08-20 22:07:06 +02:00
Patrick Nicolas 4b8295b7c7 Remove face tracker from application.h 2025-08-19 19:14:10 +02:00
Patrick Nicolas 0acfe7cd24 Remove hand tracker from application.h 2025-08-19 19:14:10 +02:00
Patrick Nicolas 757e0fd97b merge tracking control and its mutex 2025-08-15 23:27:44 +02:00
Patrick Nicolas 1370942833 Fix controller velocities with xrLocateSpaces 2025-08-03 10:15:28 +02:00
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +02:00
Guillaume Meunier 344cb7e572 Don't send controller data when the GUI is interactable 2025-07-26 11:18:58 +02:00
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
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
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