Lubosz Sarnecki
60c57792d9
t/common: Fix build with XRT_BUILD_DRIVER_VIVE=OFF.
...
vive_source.h always needs to be included for
vive_source_hook_into_sinks. vive_device.h always needs to be included
for vive_tracking_status struct.
2023-08-09 16:50:36 +02:00
Jarett Millard
9daeeaec94
d/pssense: Add trigger force feedback
2023-08-01 00:24:05 +01:00
0y8w1x
318f25f1f1
build: Add define to only build with PSVR driver support
2023-07-31 23:47:24 +02:00
Korcan Hussein
71dcc61ed2
xrt: Adds new xrt_device_name entry for XR_EXT_hand_interaction
...
Prior to this, the existing `xrt_device_name` entry
`XRT_DEVICE_HAND_INTERACTION` was re-used for `XR_EXT_hand_interaction`
bindings however this `xrt_device_name` is used to look up the older
hand-interaction profile `XR_MSFT_hand_interaction`. This commit adds a new
`xrt_device_name` entry dedicated for `XR_EXT_hand_interaction` and fixes the
incorrect profile look for suggested bindings during runtime.
2023-07-27 12:29:51 +01:00
Regan
88ca0b1a94
d/android: Fixed the issue of screen stuttering on some Android devices
2023-07-24 17:28:53 +01:00
Pedro Santos
d1eae403e4
d/survive: Add Vive Pro 2 support
2023-07-24 15:23:23 +01:00
Pedro Santos
2a3ac52eb8
d/vive: Add Vive Pro 2 support
2023-07-24 15:23:19 +01:00
Pedro Santos
9b0815bc82
a/vive: Add Vive Pro 2 support
2023-07-24 15:23:14 +01:00
Jakob Bornecrantz
e255cf8771
c/main: Fix NVIDIA direct mode detection code
...
Fix bug introduced in 14ffa34658
(!1894 ).
2023-07-23 15:36:11 +01:00
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
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
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
huanchen
db230b3dcb
ipc: Unmap shared memory before destroy
2023-07-18 13:43:01 +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
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
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
b6b5610c05
xrt|ipc|st/oxr: Adds support for XR_EXT_hand_interaction
profile.
2023-07-12 14:14:08 +01: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
Gabriele Musco
1c415d9e9b
u/logging: Add json logging behind XRT_JSON_LOG env var
2023-07-05 19:21:21 +01: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
bf0015b8ab
st/oxr: Send logging to OutputDebugStringA even if we aren't printing to stderr
...
This was intended all along, it's worse on Windows since we
don't by default print to stderr, so we never printed there.
2023-07-04 12:25:33 +00:00
Jarvis Huang
a8df7dcb54
u/debug: Use system property on Android for debug settings
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-07-03 18:53:01 +00:00
Jakob Bornecrantz
2f3f533082
u/debug: Use getenv_s on Windows for debug settings
2023-07-03 18:53:01 +00:00
Jakob Bornecrantz
9a8d80c14d
u/debug: Do not save pointer returned from getenv
2023-07-03 18:53:01 +00:00
Jakob Bornecrantz
8c8356840a
u/debug: Tidy file and export more converters
2023-07-03 18:53:01 +00:00