Commit Graph
109 Commits
Author SHA1 Message Date
moi952 85f6cb0bd9 feat(client): add per-posture player height offset setting (#1121) 2026-09-29 23:21:55 +02:00
Guillaume Meunier bf77b93a17 Reorganize tabs, fix opacity not settable to 80% 2026-07-27 23:28:47 +02:00
Guillaume Meunier 3dc1547721 Allow setting the theme from the stream scene 2026-07-26 18:13:15 +02:00
Guillaume Meunier 6452447d9c Add option for forwarding devices from the stream scene 2026-07-26 18:13:15 +02:00
ahsanswr 80ee73128d Code cleanup 2026-07-26 17:24:36 +02:00
ahsanswr 2e9f2c8646 Ui improvements 2026-07-26 17:24:36 +02: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
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
Patrick Nicolas 7d9031e843 Rework stream tabs management 2026-03-14 17:29:21 +01:00
caszuu a823df96d3 add server error messages 2026-02-27 16:03:18 +01:00
caszuu c44940d004 add server messages (with toasts!) 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
Patrick Nicolas 2f54a74b05 Use inplace_vectors in stream.cpp 2026-02-13 15:42:51 +01:00
Patrick Nicolas 06d771b89e Fix flickering screen after disconnect
Deleting the stream object has to be delayed until all Vulkan work is
done.
2026-02-11 23:36:17 +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
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
Sapphire 4553379d74 Hide GUI and use thumbstick for in-stream bitrate adjustment 2025-12-07 09:32:02 -05:00
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
Patrick Nicolas 8c131c7ef4 Show application list by default 2025-11-15 15:48:44 +01:00
Sapphire 015b242e27 Allow changing refresh rate during stream 2025-11-11 22:09:04 +01:00
galister 2063cae3ae keyboard & mouse forwarding 2025-11-11 21:12:01 +01:00
Patrick Nicolas 1696512385 Update clang-format 2025-10-29 15:30:35 +01:00
Guillaume Meunier cb1d0d7c2c Add a screen to download gltf models 2025-10-25 10:30:29 +02:00
Guillaume Meunier aad1bb6a1b Misc renderer improvements:
- Reuse renderer and gltf loader between scenes
- Use puish descriptors to simplify the management of descriptor sets in the scene renderer
- Don't keep the imgui swapchain in the scene classes
- Fix alpha blending, add alpha masking
- Fix mipmaps not being used in renderer
- Add cache when loading images and models
- Only premultiply the colours if required
- Add support for gltTF animations

Allow removing an object and its descendants from the scene, allow loading from a memory buffer
2025-10-23 21:39:12 +02:00
Patrick Nicolas 1667065084 Add app launcher in stream gui 2025-09-27 16:57:23 +02:00
Patrick Nicolas 67918b7fe7 Move app launcher out of lobby_gui 2025-09-27 16:53:25 +02:00
Patrick Nicolas f03c460aa6 Return to last screen on thumbstick press 2025-09-27 16:28:59 +02:00
Patrick Nicolas e7c69e9464 Support stopping application 2025-09-27 16:28:59 +02:00
Patrick Nicolas 7fb8f4c1a8 List running applications 2025-09-27 10:08:51 +02:00
Patrick Nicolas 633f7feeb1 Skip blit when possible 2025-09-02 15:24:04 +02:00
Patrick Nicolas 9f80c1da7c Remove body trackers from application.h 2025-08-20 22:07:06 +02:00
Patrick Nicolas 0acfe7cd24 Remove hand tracker from application.h 2025-08-19 19:14:10 +02:00
Patrick Nicolas b1d6d50a4a Replace unused frames() method with empty() 2025-08-15 23:40:40 +02:00
Patrick Nicolas 5784cbd4fa remove unused include 2025-08-15 23:28:35 +02:00
Patrick Nicolas 757e0fd97b merge tracking control and its mutex 2025-08-15 23:27:44 +02:00
Patrick Nicolas 31c347475e Cleanup some redundant variables 2025-08-15 23:20:11 +02:00
Guillaume Meunier 1b78180d73 Send app icons one by one 2025-08-08 20:41:46 +02:00
Patrick Nicolas 066d195c83 Add "connected" screen with buttons for apps 2025-07-27 08:55:14 +02:00
Patrick Nicolas 93a2f1c10b Add packets to list applications 2025-07-26 19:35:26 +02:00
Guillaume Meunier adbbd71557 Fade when dimming the video stream, override session state when the stream GUI is interactable, move the lobby plots to the debug tab 2025-07-26 11:29:06 +02:00
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +02:00
Guillaume Meunier ce437ce2b4 Add compact view in the stream scene 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
Guillaume Meunier 96083cd02e Add interactable GUI in stream scene 2025-07-26 11:18:58 +02:00
Guillaume Meunier 54f91405a6 Refactor the client GUI 2025-07-26 11:18:58 +02:00
Patrick Nicolas ecf6dfd215 Reallocate swapchains if a bigger one is needed 2025-07-08 08:59:17 +02:00
Patrick Nicolas 4ee47ab5d4 cleanup unused xr::passthrough 2025-06-22 09:37:46 +02:00