Commit graph

465 commits

Author SHA1 Message Date
Ada
524665f54c Revert OpenVrDisplayPlugin getPlayAreaRect hack 2025-04-01 09:04:46 +10:00
Ada
cedc5be526 OpenXrInputPlugin: User-friendly input actions
Replaces the raw controller button inputs with named OpenXR actions.
There's a lot of engine components that expect raw controller inputs
like the VR teleport script. Those will have to be refactored later,
but for now this works well enough and is perfectly usable. A small
issue I've hit is the LY input working for the teleport script,
but not for smooth locomotion. I've hacked around this by having
the "walk" action bound both to LX/LY and to the Translate actions.
It's a bit janky for teleports, but it's functional.

TODO: Feedback on intuitive bindings for other controller types besides
just the HTC Vive controllers.
2025-04-01 09:04:46 +10:00
9d5da27101 Added logging to Oculus Plugin setting 2023-11-05 21:04:45 +01:00
2ad99f91ff Add missing include 2023-11-05 17:29:23 +01:00
ed58d6f34e Disable Oculus plugin by default and add a setting to enable it 2023-11-05 10:49:49 +01:00
53843e8d2b Fixed control delays that were caused by a filter 2023-08-03 09:42:54 +02:00
a6c59ad75d Fix Valve Index Controller trackpad regression 2023-07-09 15:06:31 +02:00
dfef9680f9 Fixed a typo that could have caused a bug 2023-06-27 19:14:30 +02:00
474f52a4f3 Fix thumbstick press issue for translation (not rotation yet) 2023-06-25 22:23:49 +02:00
ae7d229d0e Fix copyright headers 2023-05-19 00:17:38 +02:00
Heather Anderson
1e018dbc64 isolate calls to the QtScript libraries to an interface we control 2023-05-19 00:17:33 +02:00
Heather Anderson
bcce9a2091 convert explicit shared pointer creation (using "new") to make_shared where possible/appropriate 2021-09-11 15:15:04 -07:00
Kalila L
bfa10852a2 Fix OpenVrHelpers.cpp for updating OpenVR to 1.16.8. 2021-08-28 17:37:34 -04:00
David Rowe
4d11d1d515 Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
Julian Groß
ecb7c47f1a Rename fbx folder to model-serializers 2021-04-15 19:26:10 +02:00
Kalila
90fb70e041
Merge pull request #1013 from HifiExperiments/haptics
triggerHapticPulse supports arbitrary device index instead of just two hands
2021-03-11 17:29:45 -05:00
HifiExperiments
30c4779eeb name all the threads 2021-02-13 20:17:28 -08:00
HifiExperiments
b6e7466804 triggerHapticPulse supports arbitrary device index instead of hands 2021-02-09 17:14:13 -08:00
HifiExperiments
2667af3682 more safeguards 2021-01-20 21:25:30 -08:00
David Rowe
989cd2d169 Fix Linux build error 2020-07-11 15:59:16 +12:00
David Rowe
8dd8ebcbaf Merge branch 'master' into feature/eye-tracking-option
# Conflicts:
#	plugins/openvr/src/ViveControllerManager.cpp
2020-07-11 08:14:13 +12:00
David Rowe
6e1af6df73 Update copyright notices 2020-07-10 07:18:29 +12:00
David Rowe
96ae709720 Update copyrights 2020-07-06 20:40:55 +12:00
David Rowe
5e52812747 Prevent excessive logging of a SteamVR event on Linux 2020-07-06 20:01:28 +12:00
David Rowe
c2bb26e519 Typos etc. 2020-06-29 12:40:39 +12:00
David Rowe
24352a7189 Add JSDoc for Vive eyes and fingers controller properties 2020-06-29 11:32:05 +12:00
David Rowe
e2a7abe8a2 Remove unused code 2020-06-29 11:12:46 +12:00
David Rowe
cc73528d0b Make Vive PRO Eye code Windows-only 2020-06-29 11:12:22 +12:00
David Rowe
2e9a8e2b33 Add option to enable Vive PRO Eye eye tracking 2020-06-27 15:14:21 +12:00
David Rowe
e95dd3c2bd Fix Settings > Calibration dialog not functioning when HIFI_DEBUG_OPENVR 2020-06-27 12:32:57 +12:00
David Rowe
0f324ee9ae Merge branch 'v2020.2.2-rc' into feature/openvr-linux
# Conflicts:
#	plugins/openvr/CMakeLists.txt
#	plugins/openvr/src/ViveControllerManager.cpp
2020-06-19 16:27:53 +12:00
David Rowe
aaf9abdaef Add missing delete 2020-06-18 10:23:22 +12:00
David Rowe
ab4ff1e7aa Proper Linux command line parsing 2020-06-17 08:55:54 +12:00
David Rowe
350b5f217e Try removing Linux-specific argc, argv code 2020-06-16 10:02:19 +12:00
David Rowe
ce96fc61d6 Remove unused code 2020-05-24 13:16:26 +12:00
David Rowe
1ac184bd22 Fix further type errors 2020-05-24 13:16:15 +12:00
David Rowe
6981937697 Fix path to header file 2020-05-23 20:42:22 +12:00
David Rowe
343c6a4027 Fix Linux targeting 2020-05-23 19:46:26 +12:00
David Rowe
33a77a5dbd Fix further Linux errors 2020-05-23 19:08:16 +12:00
David Rowe
f2232b89f0 Address Linux build warnings and errors 2020-05-23 17:18:03 +12:00
David Rowe
74f50ce079 Fix Linux build error 2020-05-23 15:48:48 +12:00
David Rowe
b72d5bf80c Build OpenVR plugin on Linux 2020-05-23 14:53:43 +12:00
David Rowe
7634478aba Merge branch 'master' into feature/vive-pro-eye-tracking 2020-05-22 08:52:08 +12:00
David Rowe
c0e36b7960 Address code review comments 2020-05-16 14:37:40 +12:00
David Rowe
be8d97cbf7 Use new audio setting API values 2020-05-07 16:05:49 +12:00
David Rowe
f83ea58a10 Fix erroneous hard-coded audio setting string 2020-05-07 15:42:30 +12:00
David Rowe
da2aefb6b2 There are no longer so-called "high quality" overlays 2020-05-04 21:04:17 +12:00
Seth Alves
cb83e4e6c9 adjust to new eye matrix 2020-04-26 12:25:19 -07:00
Seth Alves
67f4811c2b blink actions were renamed 2020-04-26 12:24:47 -07:00
Seth Alves
a0031c6f10 eye and hand tracking for htc vive pro 2020-04-26 12:24:45 -07:00