Commit graph

6000 commits

Author SHA1 Message Date
Jakob Bornecrantz 0da57b30a4 st/oxr: Add XR_MNDX_system_buttons support 2023-07-21 16:28:43 +00:00
Jakob Bornecrantz 314fc9c583 ext/openxr: Add XR_MNDX_system_buttons header 2023-07-21 16:28:43 +00:00
Linus Lüssing 59d3bab0f6 a/bindings: Add WinMR system buttons
Currently there does not seem to be a way to access the SteamVR
dashboard with the Reverb G2 (controllers).

This adds a binding that allows to use the system/home button to
open the SteamVR dashboard.

Remark: In the OpenXR 1.0 spec there is no binding for
/input/system in XR_EXT_hp_mixed_reality_controller. However on Windows
this button would supposedly allow to (indirectly?) access the
SteamVR dashboard. (Which I can't confirm myself, as I don't have
access to a Windows OS right now.) To properly support system buttons in
OpenXR introduce XR_MNDX_system_buttons.

Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
2023-07-21 16:28:43 +00:00
Jakob Bornecrantz 2c74c30aa2 doc: Document !1894 2023-07-21 15:45:56 +00:00
Jakob Bornecrantz 14ffa34658 c/main: Use enumeration helpers and tidy NVIDIA target code 2023-07-21 15:45:56 +00:00
Jakob Bornecrantz d5bbaed88a c/util: Use enumeration helpers 2023-07-21 15:45:56 +00:00
Jakob Bornecrantz df5601fc1e a/vk: Use enumeration helpers 2023-07-21 15:45:56 +00:00
Jakob Bornecrantz 9193427964 a/vk: Add enumeration helpers 2023-07-21 15:45:56 +00:00
Jakob Bornecrantz 6cdbcf265a doc: Document !1909 2023-07-18 19:32:37 +01:00
Jakob Bornecrantz 7dae8d1ddd ipc: Add a stable ID for clients
Co-authored-by: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2023-07-18 17:33:52 +02:00
Jakob Bornecrantz 1920a9f0d7 ipc: Send less information when describing the client 2023-07-18 17:33:52 +02:00
Jakob Bornecrantz 2edf07749b ipc: Rename client connected function and document code 2023-07-18 17:33:52 +02:00
Lubosz Sarnecki 0195e22341 t/ctl: Use correct ipc call for toggling client I/O. 2023-07-18 17:33:52 +02:00
Jakob Bornecrantz 6d3021e73d doc: Document !1906 2023-07-18 13:47:49 +01:00
huanchen db230b3dcb ipc: Unmap shared memory before destroy 2023-07-18 13:43:01 +01:00
Jakob Bornecrantz b6cec9b94a doc: Document !1907 2023-07-18 11:47:09 +01:00
Jakob Bornecrantz bb1aa17626 xrt: Trailing comma on all enums [NFC]
Makes changes adding new entires have less lines changed.
2023-07-18 11:45:08 +01:00
Jakob Bornecrantz ab965deb65 a/android: Reflow code for prettier layout [NFC] 2023-07-18 11:45:08 +01:00
Jakob Bornecrantz 9a17faa59d a/android: Add warning when not getting refresh rate and returning 60hz [NFC] 2023-07-18 11:45:04 +01:00
Jakob Bornecrantz 416f031329 doc: Document !1904 2023-07-17 10:57:05 +01:00
quic_zhozhan 6aea10f57b st/oxr: Add XR_OPPO_controller_interaction extension 2023-07-17 10:53:32 +01:00
quic_zhozhan 191e7d6269 xrt: Add OPPO MR controller 2023-07-17 14:13:00 +08:00
Jakob Bornecrantz e0a54c98ae doc: Document !1902 2023-07-14 14:13:34 +01:00
Jakob Bornecrantz 201c81813d st/gui: Add helper to draw sink to background 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz a8dd070951 st/gui: Add code to draw gui_window_record to background 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz c3b741d4fd st/gui: Refactor debug_record creation into helper 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz d38fb165ce st/gui: Refactor out more multi-line gui elements 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz 32b878e196 st/gui: Refactor and tidy helper functions 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz ea13c373c5 st/gui: Reshuffle and document debug gui struct 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz ff9f68bc96 st/gui: Remove unused priv_tuple struct 2023-07-14 13:54:06 +01:00
Jakob Bornecrantz cd7e921a03 u/var: Expose root object raw name 2023-07-14 13:54:03 +01:00
Jakob Bornecrantz ea77386887 u/var: Use a struct to carry information in root object callbacks 2023-07-14 13:53:36 +01:00
Jakob Bornecrantz 7ef4007196 u/var: Improve doc comments [NFC] 2023-07-13 23:31:51 +01:00
Jakob Bornecrantz 04298976da u/var: Rename suffix_with_number argument [NFC]
Clearer, and frees up the number name inside of the function.
2023-07-13 23:31:51 +01:00
Jakob Bornecrantz 6208a8f1a5 c/main: Set sequence to be the frame id on mirror window 2023-07-13 23:31:51 +01:00
Korcan Hussein 9ad98815bb doc: Document !1901 2023-07-12 16:19:07 +01:00
Korcan Hussein b6b5610c05 xrt|ipc|st/oxr: Adds support for XR_EXT_hand_interaction profile. 2023-07-12 14:14:08 +01:00
Jakob Bornecrantz eaa7017217 doc: Document !1900 2023-07-11 16:33:56 +01:00
Jakob Bornecrantz f65ea4e6b1 ext/openxr: Update headers to 1.0.28 2023-07-11 16:31:51 +01:00
utzcoz 4c12589aeb Document !1899
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-07-08 11:47:25 +08:00
utzcoz 25d9437924 st/oxr: Remove non-reachable return for oxr_xrPathToString
The OXR_TWO_CALL_HELPER returns whenever succeed or failed.

Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-07-08 11:42:57 +08:00
Jakob Bornecrantz 75814f01b2 doc: Document !1898 2023-07-05 19:23:07 +01:00
Gabriele Musco 1c415d9e9b u/logging: Add json logging behind XRT_JSON_LOG env var 2023-07-05 19:21:21 +01:00
Korcan Hussein b694ca2d31 doc: Document !1896 2023-07-04 13:31:32 +00:00
Korcan Hussein 0b410a7119 a/bindings: Interaction profile inheritance
A requirement of interaction profile (extensions) specify that some/all
actions must be supported by all other profiles. This commit
modifies the binding generation to support data-inheritance in bindings.json:
* Adds support for profiles in bindings.json to inherit & override other profiles
* Adds a new concept of virtual profiles for profile like extensions
  (e.g. `XR_EXT_palm_pose`) which do not define a profile themselves but
  require their newly defined actions to be supported by all profiles.
* Generates verify bindings functions which only check extensions actions
  only if the extension is enabled.
2023-07-04 13:31:32 +00:00
Korcan Hussein 258357489c xrt: Add XRT_INPUT_GENERIC_PALM_POSE for XR_EXT_palm_pose 2023-07-04 13:31:32 +00:00
Korcan Hussein 18e367300c st/oxr: Add disabled XR_MSFT_hand_intertaction
The binding code has support for this extenstion, but the bindings are not
used in any of the drivers so totally untested and would lead to the wrong
expectations of the applications.
2023-07-04 13:31:32 +00:00
Korcan Hussein ba6c35e605 st/oxr: Add disabled XR_EXT_palm_pose
Disabled because no driver implements the needed pose.
2023-07-04 13:31:32 +00:00
Jakob Bornecrantz 9cb2671f51 doc: Document !1889 2023-07-04 12:25:33 +00:00
Jakob Bornecrantz 1624ae3278 doc: Document !1785 2023-07-04 12:25:33 +00:00