mirror of https://github.com/wayvr-org/wayvr.git
update default profiles
This commit is contained in:
parent
374f85ee81
commit
ba598ee77f
|
|
@ -227,6 +227,14 @@
|
||||||
double_click: true,
|
double_click: true,
|
||||||
right: "/user/hand/right/input/menu/click",
|
right: "/user/hand/right/input/menu/click",
|
||||||
},
|
},
|
||||||
|
move_mouse: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value",
|
||||||
|
threshold: [
|
||||||
|
0.1,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
},
|
||||||
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"
|
||||||
|
|
@ -261,19 +269,23 @@
|
||||||
right: "/user/hand/right/input/thumbstick/x"
|
right: "/user/hand/right/input/thumbstick/x"
|
||||||
},
|
},
|
||||||
show_hide: {
|
show_hide: {
|
||||||
left: "/user/hand/left/input/system/click",
|
left: "/user/hand/left/input/menu/click",
|
||||||
},
|
},
|
||||||
space_drag: {
|
space_drag: {
|
||||||
double_click: true,
|
double_click: true,
|
||||||
right: "/user/hand/left/input/system/click",
|
right: "/user/hand/right/input/menu/click",
|
||||||
},
|
},
|
||||||
click_modifier_right: {
|
click_modifier_right: {
|
||||||
left: "/user/hand/left/input/trackpad/dpad_up",
|
left: "/user/hand/left/input/trackpad/touch",
|
||||||
right: "/user/hand/right/input/trackpad/dpad_up"
|
right: "/user/hand/right/input/trackpad/touch"
|
||||||
},
|
},
|
||||||
click_modifier_middle: {
|
move_mouse: {
|
||||||
left: "/user/hand/left/input/trackpad/dpad_down",
|
left: "/user/hand/left/input/trigger/value",
|
||||||
right: "/user/hand/right/input/trackpad/dpad_down"
|
right: "/user/hand/right/input/trigger/value",
|
||||||
|
threshold: [
|
||||||
|
0.1,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -311,6 +323,107 @@
|
||||||
double_click: true,
|
double_click: true,
|
||||||
right: "/user/hand/left/input/system/click",
|
right: "/user/hand/left/input/system/click",
|
||||||
},
|
},
|
||||||
|
move_mouse: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value",
|
||||||
|
threshold: [
|
||||||
|
0.1,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
profile: "/interaction_profiles/khr/generic_controller",
|
||||||
|
pose: {
|
||||||
|
left: "/user/hand/left/input/aim/pose",
|
||||||
|
right: "/user/hand/right/input/aim/pose"
|
||||||
|
},
|
||||||
|
click: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value"
|
||||||
|
},
|
||||||
|
grab: {
|
||||||
|
left: "/user/hand/left/input/squeeze/value",
|
||||||
|
right: "/user/hand/right/input/squeeze/value"
|
||||||
|
},
|
||||||
|
show_hide: {
|
||||||
|
left: "/user/hand/left/input/secondary/click",
|
||||||
|
"double_click": true
|
||||||
|
},
|
||||||
|
click_modifier_right: {
|
||||||
|
left: "/user/hand/left/input/secondary/click",
|
||||||
|
right: "/user/hand/right/input/secondary/click"
|
||||||
|
},
|
||||||
|
click_modifier_middle: {
|
||||||
|
left: "/user/hand/left/input/primary/click",
|
||||||
|
right: "/user/hand/right/input/primary/click"
|
||||||
|
},
|
||||||
|
move_mouse: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value",
|
||||||
|
threshold: [
|
||||||
|
0.1,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
},
|
||||||
|
scroll: {
|
||||||
|
left: "/user/hand/left/input/thumbstick/y",
|
||||||
|
right: "/user/hand/right/input/thumbstick/y"
|
||||||
|
},
|
||||||
|
scroll_horizontal: {
|
||||||
|
left: "/user/hand/left/input/thumbstick/x",
|
||||||
|
right: "/user/hand/right/input/thumbstick/x"
|
||||||
|
},
|
||||||
|
haptic: {
|
||||||
|
left: "/user/hand/left/output/haptic",
|
||||||
|
right: "/user/hand/right/output/haptic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
profile: "/interaction_profiles/samsung/odyssey_controller",
|
||||||
|
pose: {
|
||||||
|
left: "/user/hand/left/input/aim/pose",
|
||||||
|
right: "/user/hand/right/input/aim/pose"
|
||||||
|
},
|
||||||
|
click: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value"
|
||||||
|
},
|
||||||
|
grab: {
|
||||||
|
left: "/user/hand/left/input/squeeze/click",
|
||||||
|
right: "/user/hand/right/input/squeeze/click"
|
||||||
|
},
|
||||||
|
show_hide: {
|
||||||
|
left: "/user/hand/left/input/menu/click"
|
||||||
|
},
|
||||||
|
space_drag: {
|
||||||
|
right: "/user/hand/right/input/menu/click",
|
||||||
|
double_click: true
|
||||||
|
},
|
||||||
|
click_modifier_right: {
|
||||||
|
left: "/user/hand/left/input/trackpad/touch",
|
||||||
|
right: "/user/hand/right/input/trackpad/touch"
|
||||||
|
},
|
||||||
|
click_modifier_middle: {},
|
||||||
|
move_mouse: {
|
||||||
|
left: "/user/hand/left/input/trigger/value",
|
||||||
|
right: "/user/hand/right/input/trigger/value",
|
||||||
|
threshold: [
|
||||||
|
0.1,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
},
|
||||||
|
scroll: {
|
||||||
|
left: "/user/hand/left/input/thumbstick/y",
|
||||||
|
right: "/user/hand/right/input/thumbstick/y"
|
||||||
|
},
|
||||||
|
scroll_horizontal: {
|
||||||
|
left: "/user/hand/left/input/thumbstick/x",
|
||||||
|
right: "/user/hand/right/input/thumbstick/x"
|
||||||
|
},
|
||||||
|
haptic: {
|
||||||
|
left: "/user/hand/left/output/haptic",
|
||||||
|
right: "/user/hand/right/output/haptic"
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue