Commit Graph
917 Commits
Author SHA1 Message Date
ahsanswr 44879e45ab Add new UI framework 2026-07-26 17:24:36 +02:00
Patrick Nicolas 52e53f0591 Use (again) boost::pfr for hmd_traits overrides 2026-07-25 18:35:41 +02:00
Guillaume Meunier 6ff72e0425 Allow blacklisting Vulkan/OpenXR extensions 2026-07-25 18:35:41 +02:00
Guillaume Meunier eb94356092 Unify the different ray models, allow overriding shaders used in gltf 2026-07-25 18:35:41 +02:00
Patrick Nicolas 32724d359f Fix invisible rays 2026-07-25 18:35:41 +02:00
Patrick Nicolas d30ddc96e9 tweak HTC controller offset 2026-07-25 18:35:41 +02:00
Patrick Nicolas 3c148bd1dd Remove HTC ray workaround for XR elite firmware 2 2026-07-25 18:35:41 +02:00
Patrick Nicolas 9491f02bc0 Update Android NDK 2026-07-20 18:54:53 +02:00
Patrick Nicolas d6f9cca646 Set AAudio preset to voice communication
Matches what we do and should workaround a bug in Meta OS
2026-07-14 11:41:20 +02:00
Patrick Nicolas b30d6e64d0 Log version on client start 2026-07-13 23:01:28 +02:00
SapphireandGuillaume Meunier 1cc61fd07a Make virtual tracker xdevs toggleable
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
2026-07-10 14:52:50 -05:00
Sapphire 10cefe65b9 Handle xrLocateSpace failure in htc_body_tracker 2026-07-10 13:22:14 -05:00
Sapphire e611fdcc51 Add velocity for htc_body 2026-07-10 13:22:14 -05:00
Sapphire 881450867a Make XR_META_body_tracking_fidelity optional 2026-07-10 13:22:14 -05:00
Sapphire bf551bd198 Use early returns in body_tracker_supported/make_body_tracker 2026-07-10 13:22:13 -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 91f6e69ffb Mirror forwarded input devices to uinput
Mirror the gamepad forwarded from the headset to a uinput device with the standard Xbox layout, so applications that do not read it through OpenXR, such as SDL and Steam Input, pick it up. This extends the existing hid-forwarding uinput path, which already covered keyboard and mouse.

The headset chooses which devices to forward (keyboard, mouse, gamepad), off by default. The hid-forwarding server option gates the uinput mirror only; the OpenXR gamepad is always exposed. The mirror needs the uinput module and write access to /dev/uinput.

Gamepad rumble written to the uinput device is read back and forwarded to the headset as OpenXR haptics.
2026-07-08 19:10:50 +02: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
Patrick Nicolas 9935203cfb Document adb setprop usage for hmd_traits 2026-07-05 11:59:57 +02:00
Patrick Nicolas 79d57a35d7 Wait for left/right decoders to be ready before start 2026-06-15 21:25:21 +02:00
Patrick Nicolas 6d6353fe49 Disable passthrough if alpha not ready 2026-06-15 21:12:31 +02:00
Patrick Nicolas 29b1770ba0 cmake: explicit GIT_TAG for releases
Tagged versions shouls use GIT_TAG instead of GIT_DESC+GIT_COMMIT
When using GIT_TAG, apk download will be done from WiVRn releases
In other cases, GIT_COMMIT will be used to download from WiVRn-APK
releases.

If none is set, git is used to compute the values
2026-06-14 17:25:12 +02:00
Patrick Nicolas 43395e6e40 Add logs for refresh rate change 2026-06-13 23:05:52 +02:00
Guillaume Meunier fdb7ace47a Revert "WIP snapping"
This reverts commit 11d166d518.
2026-06-05 21:19:46 +02:00
Guillaume Meunier 11d166d518 WIP snapping 2026-06-05 20:43:35 +02:00
Guillaume Meunier 4afcadf19d Change the GUI distance with the thumbstick in the stream scene 2026-06-05 20:43:35 +02:00
Guillaume Meunier f01ffd9182 Use a fixed GUI position in the stream scene when the GUI is interactable 2026-06-05 20:43:35 +02:00
EasonZxp 28c72c8e64 Add PFDM MR controller support 2026-05-26 10:52:34 +02:00
EasonZxp 6a72c537c2 Add FB hand mesh support with GLB fallback (#934)
Use the XR_FB_HAND_TRACKING_MESH extension to render hand models when supported,
and fall back to the bundled GLB hand models otherwise. This fixes incorrect hand
model rendering on PFDM MR device, Have tested with PFDM MR V4.5.0 version.
2026-05-26 09:40:37 +02:00
Patrick Nicolas a870344405 Split pico4/4u controller offsets
Values provided in https://github.com/WiVRn/WiVRn/pull/908#issuecomment-4439106699
2026-05-20 11:01:52 +02:00
Unimpressive eca2949a5c more accurate pico 4 controller offset 2026-05-20 11:01:52 +02:00
Patrick Nicolas f3ebe5798e Silence maybe unitialized warnings 2026-05-16 17:03:30 +02:00
Patrick Nicolas aa8968e1f4 Update OpenXR to 1.1.58 for client 2026-05-16 16:46:02 +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 9778f0e9b7 hmd traits override through boost::pfr 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 50a0f1a0ed Add quirk to prevent discarding frames 2026-05-10 19:11:17 +02:00
Patrick Nicolas 1685bbde2c rename override_view_for_hmd -> override_view 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
amwatson 209145ce0d replace hmd_traits lazy fallback with strong assert that init is called before retrieval 2026-05-10 19:11:17 +02:00
amwatson a82ba58bf9 all env_ functions return std::optional and in env_string() present-but-empty values return as '' 2026-05-10 19:11:17 +02:00
amwatson 527a094c32 Use magic_enum::containers::array for permissions list 2026-05-10 19:11:17 +02:00
amwatson 83eb6ff849 override_view() should take hmd_traits as argument to ensure envvar overrides are read consistently 2026-05-10 19:11:17 +02:00
amwatson d70c1fb414 add runtime-initialized 'hmd_traits' struct to streamline hmd-specific checks 2026-05-10 19:11:17 +02:00
Patrick Nicolas 590adfe566 Add warnings for extended values 2026-05-03 10:50:39 +02:00
Patrick Nicolas 7e81f23f0f Add missing includes 2026-05-02 20:39:37 +02:00
Patrick Nicolas 51e3dd5adc factorize post-processing GUI code 2026-04-27 11:22:44 +02:00
Patrick Nicolas 63a22d32db Allow headset timewarp 2026-04-27 10:48:26 +02:00
Patrick Nicolas e21b1adf1d Send both frame rate and refresh rate in description 2026-04-27 10:26:58 +02:00