Commit graph

12 commits

Author SHA1 Message Date
Lubosz Sarnecki
25b006f8f0 OpenXrDisplayPlugin: Use C++20 std::format. 2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
ebbd4725d6 OpenXrInputPlugin: Use C++20 map iterators. 2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
f75ef23da2 OpenXr: Use C++20 std::optional. 2025-02-13 08:12:01 +10:00
HifiExperiments
7aa0fbb89f OpenXr: Platform improvements.
Add missing includes on Windows.
Include GLX only on Linux.

Move openxr_platform.h include to OpenXrContext.h. To make this
possible, certain names from GLX/X11 need to be undefined in order to be
now includable in OpenXrInput.h.

Add Overte e.V. copyright.

Co-authored-by: Lubosz Sarnecki <lubosz@gmail.com>
2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
630d495230 GLMHelpers: Fix build with C++20 on GCC.
When enabling C++20 the lerp function seems to be redefined on GCC (not
on MSVC), don't redefine it using a CMake definition.
2025-02-13 08:12:01 +10:00
9702049ede OpenXr: Enable C++20 for OpenXR plugin.
Enabling it globally causes issue with WebRTC.

Co-authored-by: Lubosz Sarnecki <lubosz@gmail.com>
2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
2a26a71f2c OpenXrContext: Add Windows platform and bindings. 2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
a400490815 OpenXrInputPlugin: Improve haptic feedback mapping. 2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
07b23cc5c4 OpenXrInput: Improve mapping for the Index controller.
* Add thumbstick click and touch.
* Add face and trigger touch.

Use left primary / secondary instead of face button names.
2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
baf012f6bc OpenGlDisplayPlugin: Add possibility to present frames only once.
Don't present frame more than once in OpenXrDisplayPlugin.
2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
78d002b02c OpenXrContext: Improve errors when runtime is not available. 2025-02-13 08:12:01 +10:00
Lubosz Sarnecki
a9332ea595 plugins: Add OpenXR plugin.
Add OpenXrDisplayPlugin and OpenXrInputPlugin.
Add controller bindings for the Valve Index controller.
2025-02-13 08:12:01 +10:00