Blender Git Loki
Git Commits -> Revision 714224e
Revision 714224e by Peter Kim (xr-controller-support) July 2, 2021, 09:10 (GMT) |
XR: Support haptic feedback for actions Adds haptic settings to float (button) actions that can be used to apply haptics when an action is active. Users can configure the duration, frequency, and amplitude of the feedback as well as when it will be applied (press, release, press/release, or repeat). The haptic output path/target is specified via the name of an existing action of type "haptic". This allows float actions to target the same output paths without the need for multiple haptic actions. |
Commit Details:
Full Hash: 714224ee1ff6224d6334e2fc0e3da77a076d2b6e
Parent Commit: 1184da2
Lines Changed: +645, -203
12 Modified Paths:
/intern/ghost/GHOST_C-api.h (+3, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+9, -5) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+38, -11) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+4, -2) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+7, -3) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+214, -16) (Diff)
/source/blender/windowmanager/WM_api.h (+9, -1) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+53, -5) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+15, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+280, -155) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+9, -5) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+38, -11) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+4, -2) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+7, -3) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+214, -16) (Diff)
/source/blender/windowmanager/WM_api.h (+9, -1) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+53, -5) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+15, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+280, -155) (Diff)