Commit graph

265 commits

Author SHA1 Message Date
Ada
9cf3c748ca Input cleanup, game rate fix 2025-04-02 02:41:08 +10:00
Ada
fafbede819 Remove unused and outdated Index bindings 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
Lubosz Sarnecki
7e31a1e49b controllers: Improve openxr_index.json mapping. 2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
0505658a39 controllers: openxr: Use actions for walking.
This makes the Y thumbstick axis work.
2025-04-01 09:04:46 +10:00
Lubosz Sarnecki
2db3168612 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-04-01 09:04:46 +10:00
Lubosz Sarnecki
473bd4d64e plugins: Add OpenXR plugin.
Add OpenXrDisplayPlugin and OpenXrInputPlugin.
Add controller bindings for the Valve Index controller.
2025-04-01 09:04:46 +10:00
armored-dragon
661ca01c09
Fixed mouse look in selfie mode. 2024-09-09 15:23:25 -05:00
Armored-Dragon
78a8cccd83
Update interface/resources/controllers/keyboardMouse.json
Co-authored-by: HifiExperiments <53453710+HifiExperiments@users.noreply.github.com>
2024-09-09 06:01:56 +00:00
armored-dragon
fe4b8a5518
Things can't be too easy. 2024-09-05 13:43:28 -05:00
armored-dragon
baa37a336e
Hopefully fixed formatting. 2024-09-05 13:42:22 -05:00
Armored-Dragon
72cb5245aa
Fix without formatting? () 2024-09-05 18:38:04 +00:00
armored-dragon
648c3ff9d8
Added extra needed checks. 2024-09-04 01:38:52 -05:00
a6c59ad75d Fix Valve Index Controller trackpad regression 2023-07-09 15:06:31 +02:00
7cf9fd83a6 Fix rotation thumbstick press issue 2023-06-26 17:09:23 +02:00
474f52a4f3 Fix thumbstick press issue for translation (not rotation yet) 2023-06-25 22:23:49 +02:00
3ce6bb989c Added original xbox_orig.json under a new name 2022-06-06 21:09:43 +02:00
steve hocktail
78b8164be1
reverte "mapped the back shoulder buttons to LT and RT" 2022-04-09 04:14:26 +00:00
steve hocktail
ca11899030 mapped the back shoulder buttons to LT and RT 2022-04-08 23:58:11 -04:00
steve hocktail
aced8af601
fixed deprecated Actions in standard.json 2022-04-04 11:35:41 -04:00
steve hocktail
5f85fa6256 rereouted xbox sticks, and made A and B flight-control buttons 2022-04-03 18:44:03 -04:00
HifiExperiments
5281f89d0d FUUUUUUUCK FINALLY 2020-09-02 11:28:43 -07:00
HifiExperiments
776b1071a0 try to do it without QCursor::setPos 2020-08-31 15:44:06 -07:00
David Rowe
6060dad638 Resurrect gamepad Y teleport button 2019-12-08 12:38:48 +13:00
Anthony Thibault
edfad97b64
Merge pull request from hyperlogic/feature/facecap-osc-plugin
Input plugin for streaming blendshapes from an iPhone
2019-11-23 11:49:51 -08:00
Anthony J. Thibault
9d6ce44131 Head is now computed in proper sensor space
Eye tracking now works.
2019-11-20 15:30:16 -08:00
Anthony J. Thibault
befbdcef48 Upgraded OSC plugin with changes from ARKit blendshape work. 2019-11-19 13:13:56 -08:00
dante ruiz
cd6f9a774d
implement gesture pinch to camera zoom 2019-11-18 11:33:31 -07:00
Anthony J. Thibault
101ec9d753 Remove LipsUpperOpen and LipsLowerOpen, the last of the legacy faceshift blendshapes
These blendshapes are not present in ARKit and are not used by any of our procedural
face animations (talking, blinking etc).  This change should have been part of  but
was accidently left out.
2019-11-04 09:49:24 -08:00
Anthony J. Thibault
d43d12dfa7 Merge branch 'master' into feature/arkit-blendshapes 2019-10-23 21:45:10 -07:00
Anthony J. Thibault
03f88f696d Renamed LipsTogether to MouthClose and bug fixes. 2019-10-21 19:37:57 -07:00
luiscuenca
33ea63c708
Fix warnings and update controls 2019-10-17 15:06:12 -07:00
Anthony J. Thibault
389f5a1d33 ARKit Blendshape hookup work 2019-10-16 10:36:39 -07:00
Anthony J. Thibault
6efd74a339 WIP adding blendshapes to input system 2019-10-16 10:36:38 -07:00
luiscuenca
09f0222285
Restore previous control keys for free camera 2019-10-01 14:18:46 -07:00
luiscuenca
ea23a82f33
Make mouse pitch less sensitive 2019-09-26 15:14:47 -07:00
luiscuenca
1b064a0ebe
Fix Q key on first person cam. Let camera control flying Y axis 2019-09-26 14:29:01 -07:00
luiscuenca
279e25ca70
Merge master 2019-09-19 13:21:49 -07:00
luiscuenca
fc223e4cb6
Reverse the up/down arrow keys if in selfie mode 2019-09-18 17:15:25 -07:00
luiscuenca
7bc8e6b237
Solved some sitting and sound issues while looking at 2019-09-18 17:00:10 -07:00
luiscuenca
1054e8fcde
Selfie camera and updated camera menus 2019-09-17 17:15:16 -07:00
Seth Alves
943348ba51 input action channels for eyes and eyelids and fingers. connect eyelid input actions to blendshapes. 2019-09-17 09:43:20 -07:00
luiscuenca
78eee5961c
Fix key mapping for new camera 2019-09-05 18:05:46 -07:00
Wayne Chen
4f738a5b42 code review feedback/formatting issues 2019-04-04 12:03:48 -07:00
r3tk0n
ec37ad7dc6 Address Wayne and Angus' comments on github. 2019-04-03 09:38:14 -07:00
r3tk0n
86ffa44771 Swap flying binding to other hand. 2019-03-21 17:05:20 -07:00
r3tk0n
108e8b9994 Merge branch 'master' of https://github.com/highfidelity/hifi into project-freeloco 2019-03-21 15:17:56 -07:00
r3tk0n
006e2d09b3 Add jump binding. 2019-03-21 15:16:50 -07:00
r3tk0n
543d53ecde Add ability to toggle strafing. 2019-03-21 13:12:15 -07:00
r3tk0n
0bb10544a3 Prevent accidental rotation when teleporting. 2019-03-21 11:43:26 -07:00