Commit Graph
6867 Commits
Author SHA1 Message Date
Beyley Cardellio 6d178e78fc d/rift: Handle touch controller analogue inputs
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2724>
2026-02-02 20:01:51 -05:00
Beyley Cardellio 22cf1d7383 d/rift: Cache and load cached touch controller calibrations
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2724>
2026-02-02 20:01:51 -05:00
Simon Zeni cc967a2d34 external/imgui: silence warnings
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2718>
2026-02-02 19:06:24 +00:00
Simon Zeni 0434fc3ddb external/imgui: upgrade imgui to 1.92.5-docking and implot to 0.17
This commit also updated the cimgui and cimplot libraries to the matching imgui and implot version
and addresses the changes in the `xrt` folder.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2718>
2026-02-02 19:06:24 +00:00
Jakob Bornecrantz a0cf898b29 ipc: Fix fallout from IPC changes
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2721>
2026-02-02 15:11:56 +00:00
Daniel Monteiro 212cbce6a2 xrt: return XR_ERROR_RUNTIME_UNAVAILABLE in the absence of a runtime
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2719>
2026-02-02 11:59:26 +00:00
galister 68d0276a07 comp: disallow fast path when using color scale/bias
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2720>
2026-02-02 10:53:57 +00:00
Jakob Bornecrantz 6801c22890 xrt: Move XRT_SYSTEM_MAX_DEVICES to xrt_limits.h
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:12 +00:00
Jakob Bornecrantz 7ee00a012e st/oxr: Explain better what is going on with XrEventDataInteractionProfileChanged [NFC]
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:12 +00:00
Jakob Bornecrantz 6cb95633ba st/oxr: Don't send XrEventDataInteractionProfileChanged from xrAttachSessionActionSets
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:12 +00:00
Jakob Bornecrantz 8a2d585dba st/oxr: Move bindings update further into xrSyncActions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:11 +00:00
Jakob Bornecrantz 24ce91fb6b st/oxr: Do not cache the whole xrt_system_roles on session
Only cache the generation ID, this is to make device hot-add easier to
implement in the future, and also avoid having to take the lock in
various GET_FOO_BY_ROLE macros.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:11 +00:00
Jakob Bornecrantz 530b2d18d3 st/oxr: Move dynamic roles cache and mutex to oxr_session
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:11 +00:00
Jakob Bornecrantz 395ccee593 st/oxr: Refactor role helpers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2673>
2026-01-31 17:17:11 +00:00
galister 51a1fefbd1 comp: impl KHR_composition_layer_color_scale_bias & enable by default
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2709>
2026-01-31 14:57:53 +00:00
Beyley Cardellio 0ff2924219 d/rift: Parse JSON controller calibration
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2715>
2026-01-30 14:44:05 +00:00
Beyley Cardellio f261e4a9f3 d/rift: Read controller calibration block
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2715>
2026-01-30 14:44:05 +00:00
Beyley Cardellio 8244f3f503 xrt: Fix warning when compiling xrt_byte_order as C++
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2715>
2026-01-30 14:44:04 +00:00
Beyley Cardellio 6c26ae03ca xrt: Add missing include inside xrt_byte_order.h
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2715>
2026-01-30 14:44:04 +00:00
Jakob Bornecrantz 9e3fdff0d9 ipc: Make update_inputs not use the shared area
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2628>
2026-01-30 12:15:50 +00:00
Jakob Bornecrantz 042468ea21 ipc: Move device tracking to be per client
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2628>
2026-01-30 12:15:49 +00:00
Jakob Bornecrantz 4a65e88e68 ipc: Get tracking origins ready to be hot-addable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2628>
2026-01-30 12:15:49 +00:00
Simon Zeni c66e7834f8 d/euroc: improve img_name concatenation in euroc_player_preload_img_data
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2714>
2026-01-29 15:35:21 +00:00
Simon Zeni 7242b90ebd xrt: specify enum underlying type
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2714>
2026-01-29 15:35:20 +00:00
Simon Zeni 5f736ac4f3 t/psvr: use const reference for loop data in solve_with_imu
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2714>
2026-01-29 15:35:19 +00:00
Simon Zeni 421672b22d t/psvr: copy solved vector into resolv vector in process function
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2714>
2026-01-29 15:35:18 +00:00
Simon Zeni 0f54843078 a/tracking: remove move on a trivially-copyable argument in getNormalizedVector
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2714>
2026-01-29 15:35:17 +00:00
Krzysztof Lesiak f1b330f0e9 xrt: Add support for XR_LOGITECH_mx_ink_stylus_interaction
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2712>
2026-01-29 14:44:42 +01:00
knuxify 491161373b a/android: Make sure display metrics represent the landscape screen size
For Cardboard usage, we expect the returned screen size to be landscape.
However, it is possible that the screen is still in portrait mode when
getDisplayMetrics is called, which causes the width and height to be swapped.
Ensure that the width and height always represent the screen's size in landscape mode.

(An alternative method for this would be to check for the screen
rotation and rotate if the screen is in ROTATION_0 or ROTATION_180,
but on some devices (foldables and some tablets?) ROTATION_0/180
does not necessarily imply landscape. If it turns out that these
devices need to return the portrait orientation here, that could be
changed. On all other devices, there should be no functional difference.)

Fixes #567.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2675>
2026-01-29 11:35:32 +00:00
Simon Zeni 47019ac7dd c/render: cast float to double in math functions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2716>
2026-01-28 14:27:18 -05:00
Simon Zeni 2cea037872 d/wmr: use appropriate math function variant for float
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2716>
2026-01-28 14:27:18 -05:00
Simon Zeni b1ba527b71 aux/*: use appropriate math function variant for float
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2716>
2026-01-28 14:27:18 -05:00
Korcan Hussein 0b5795bb8d a/os: add get hardware thread count function
ala std::thread::hardware_concurrency()

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2713>
2026-01-27 13:48:54 +00:00
Simon Zeni 6fe9c2d103 xrt: fix performance-unnecessary-value-param issues
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2691>
2026-01-27 02:41:07 +00:00
coolGi 1b4d5ad730 a/util: allow devices to be reassigned as different roles
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2705>
2026-01-27 00:29:40 +00:00
coolGi 50d59a5d39 d/steamvr_lh: add hmd ipd & fov values to debug gui
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2711>
2026-01-24 01:39:42 +10:30
coolGi 0b56205375 d/survive: re-order debug gui fov values
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2711>
2026-01-24 01:39:42 +10:30
Beyley Cardellio 6d58eab6f9 d/rift: Read radio device serial numbers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2710>
2026-01-22 23:41:40 -05:00
coolGi 793ae043df a/vive: fix usage of channelMap provided by the lh config json
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2706>
2026-01-21 23:53:57 +10:30
Korcan Hussein 49e069a561 a/android: fix mixing flag types in AHB format check
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2708>
2026-01-21 10:55:27 +00:00
Korcan Hussein ef4b6d43dd t/openxr_android: refactor product flavors for flavour variants using different drivers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2702>
2026-01-17 07:28:24 +00:00
Korcan Hussein a3ef7a3752 d/android: minor bug fixes.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2702>
2026-01-17 07:28:24 +00:00
Beyley Cardellio dd85197539 d/rift: Add Oculus Rift Remote support
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2703>
2026-01-16 21:32:48 -05:00
Beyley Cardellio e9befc8185 xrt: Add atomic_s32 store/load
This uses seq_cst semantics, so ordering is fully enforced

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2703>
2026-01-16 21:32:01 -05:00
Jakob Bornecrantz be0b641809 xrt: Switch name enums to use x_macro script
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2689>
2026-01-16 21:12:36 +00:00
Jakob Bornecrantz a2f979b955 u/pp: Use macro lists
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2689>
2026-01-16 21:12:36 +00:00
Jakob Bornecrantz 49142aee0b xrt: Generate macro list using helper
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2689>
2026-01-16 21:12:36 +00:00
Beyley Cardellio daa4cc3fed d/rift: Implement controller buttons
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2690>
2026-01-16 10:23:53 +00:00
Beyley Cardellio e1a49b1956 d/rift: Start detecting and creating controller devices
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2690>
2026-01-16 10:23:53 +00:00
Beyley Cardellio 80c98448dd d/rift: Begin tracking radio state/create thread
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2690>
2026-01-16 10:23:53 +00:00