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
This commit is contained in:
AdiMCS
2025-04-10 15:49:58 -07:00
committed by GitHub
parent cdbe3c4ad3
commit 5b23de0599

View File

@@ -92,6 +92,10 @@
space_drag: { space_drag: {
left: "/user/hand/left/input/menu/click", left: "/user/hand/left/input/menu/click",
}, },
space_reset: {
double_click: true,
left: "/user/hand/left/input/menu/click",
},
click_modifier_right: { click_modifier_right: {
left: "/user/hand/left/input/y/touch", left: "/user/hand/left/input/y/touch",
right: "/user/hand/right/input/b/touch" right: "/user/hand/right/input/b/touch"
@@ -138,10 +142,10 @@
left: "/user/hand/left/input/thumbstick/x", left: "/user/hand/left/input/thumbstick/x",
right: "/user/hand/right/input/thumbstick/x" right: "/user/hand/right/input/thumbstick/x"
}, },
toggle_dashboard: { toggle_dashboard: {
double_click: false, double_click: false,
right: "/user/hand/right/input/system/click", right: "/user/hand/right/input/system/click",
}, },
show_hide: { show_hide: {
double_click: true, double_click: true,
left: "/user/hand/left/input/b/click", left: "/user/hand/left/input/b/click",
@@ -151,8 +155,8 @@
// right trackpad is alt_click // right trackpad is alt_click
}, },
space_reset: { space_reset: {
double_click: true,
left: "/user/hand/left/input/trackpad/force", left: "/user/hand/left/input/trackpad/force",
double_click: true,
}, },
click_modifier_right: { click_modifier_right: {
left: "/user/hand/left/input/b/touch", left: "/user/hand/left/input/b/touch",
@@ -198,6 +202,10 @@
space_drag: { space_drag: {
right: "/user/hand/right/input/menu/click", right: "/user/hand/right/input/menu/click",
}, },
space_reset: {
double_click: true,
right: "/user/hand/right/input/menu/click",
},
haptic: { haptic: {
left: "/user/hand/left/output/haptic", left: "/user/hand/left/output/haptic",
right: "/user/hand/right/output/haptic" right: "/user/hand/right/output/haptic"
@@ -237,6 +245,10 @@
space_drag: { space_drag: {
right: "/user/hand/right/input/menu/click", right: "/user/hand/right/input/menu/click",
}, },
space_reset: {
double_click: true,
right: "/user/hand/right/input/menu/click",
},
}, },
// HP Reverb G2 controller // HP Reverb G2 controller
@@ -272,6 +284,10 @@
space_drag: { space_drag: {
right: "/user/hand/right/input/menu/click", right: "/user/hand/right/input/menu/click",
}, },
space_reset: {
double_click: true,
right: "/user/hand/right/input/menu/click",
},
}, },
] ]