From 5b23de05993fd16c045d6bfa52345ea14dda6649 Mon Sep 17 00:00:00 2001 From: AdiMCS <32852821+AdalynBlack@users.noreply.github.com> Date: Thu, 10 Apr 2025 15:49:58 -0700 Subject: [PATCH] Add default space_reset binding for all controllers (#191) * Converted tabs to spaces for consistency * Added default space_reset binding as space_drag's double click variant for all controllers * Fixed duplicate space_resets --- src/backend/openxr/openxr_actions.json5 | 26 ++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/backend/openxr/openxr_actions.json5 b/src/backend/openxr/openxr_actions.json5 index ac3e026..75a7074 100644 --- a/src/backend/openxr/openxr_actions.json5 +++ b/src/backend/openxr/openxr_actions.json5 @@ -92,6 +92,10 @@ space_drag: { left: "/user/hand/left/input/menu/click", }, + space_reset: { + double_click: true, + left: "/user/hand/left/input/menu/click", + }, click_modifier_right: { left: "/user/hand/left/input/y/touch", right: "/user/hand/right/input/b/touch" @@ -138,10 +142,10 @@ left: "/user/hand/left/input/thumbstick/x", right: "/user/hand/right/input/thumbstick/x" }, - toggle_dashboard: { - double_click: false, - right: "/user/hand/right/input/system/click", - }, + toggle_dashboard: { + double_click: false, + right: "/user/hand/right/input/system/click", + }, show_hide: { double_click: true, left: "/user/hand/left/input/b/click", @@ -151,8 +155,8 @@ // right trackpad is alt_click }, space_reset: { - double_click: true, left: "/user/hand/left/input/trackpad/force", + double_click: true, }, click_modifier_right: { left: "/user/hand/left/input/b/touch", @@ -198,6 +202,10 @@ space_drag: { right: "/user/hand/right/input/menu/click", }, + space_reset: { + double_click: true, + right: "/user/hand/right/input/menu/click", + }, haptic: { left: "/user/hand/left/output/haptic", right: "/user/hand/right/output/haptic" @@ -237,6 +245,10 @@ space_drag: { right: "/user/hand/right/input/menu/click", }, + space_reset: { + double_click: true, + right: "/user/hand/right/input/menu/click", + }, }, // HP Reverb G2 controller @@ -272,6 +284,10 @@ space_drag: { right: "/user/hand/right/input/menu/click", }, + space_reset: { + double_click: true, + right: "/user/hand/right/input/menu/click", + }, }, ]