81 lines
2.3 KiB
Text
81 lines
2.3 KiB
Text
// Available bindings:
|
|
//
|
|
// -- click --
|
|
// primary click to interact with the watch or overlays. required
|
|
//
|
|
// -- grab --
|
|
// used to manipulate position, size, orientation of overlays in 3D space
|
|
//
|
|
// -- show_hide --
|
|
// used to quickly hide and show your last selection of screens + keyboard
|
|
//
|
|
// -- space_drag --
|
|
// move your stage (playspace drag)
|
|
//
|
|
// -- space_rotate --
|
|
// rotate your stage (playspace rotate, WIP)
|
|
//
|
|
// -- click_modifier_right --
|
|
// while this is held, your pointer will turn ORANGE and your mouse clicks will be RIGHT clicks
|
|
//
|
|
// -- click_modifier_middle --
|
|
// while this is held, your pointer will turn PURPLE and your mouse clicks will be MIDDLE clicks
|
|
//
|
|
// -- move_mouse --
|
|
// when using `focus_follows_mouse_mode`, you need to hold this for the mouse to move
|
|
//
|
|
// -- pose, haptic --
|
|
// do not mess with these, unless you know what you're doing
|
|
|
|
[
|
|
// Index controller
|
|
{
|
|
profile: "/interaction_profiles/valve/index_controller",
|
|
pose: {
|
|
left: "/user/hand/left/input/aim/pose",
|
|
right: "/user/hand/right/input/aim/pose"
|
|
},
|
|
haptic: {
|
|
left: "/user/hand/left/output/haptic",
|
|
right: "/user/hand/right/output/haptic"
|
|
},
|
|
click: {
|
|
left: "/user/hand/left/input/trigger/value",
|
|
right: "/user/hand/right/input/trigger/value"
|
|
},
|
|
alt_click: {
|
|
//right: "/user/hand/right/input/trackpad/force",
|
|
},
|
|
grab: {
|
|
left: "/user/hand/left/input/squeeze/force",
|
|
right: "/user/hand/right/input/squeeze/force"
|
|
},
|
|
scroll: {
|
|
left: "/user/hand/left/input/thumbstick/y",
|
|
right: "/user/hand/right/input/thumbstick/y"
|
|
},
|
|
show_hide: {
|
|
left: "/user/hand/left/input/system/click",
|
|
right: "/user/hand/right/input/system/click",
|
|
},
|
|
space_drag: {
|
|
left: "/user/hand/left/input/trackpad/force",
|
|
right: "/user/hand/right/input/trackpad/force",
|
|
},
|
|
click_modifier_right: {
|
|
left: "/user/hand/left/input/b/touch",
|
|
right: "/user/hand/right/input/b/touch"
|
|
},
|
|
click_modifier_middle: {
|
|
left: "/user/hand/left/input/a/touch",
|
|
right: "/user/hand/right/input/a/touch"
|
|
},
|
|
move_mouse: {
|
|
// used with focus_follows_mouse_mode
|
|
left: "/user/hand/left/input/trigger/touch",
|
|
right: "/user/hand/right/input/trigger/touch"
|
|
}
|
|
},
|
|
|
|
|
|
]
|