diff --git a/src/systems/userinput/bindings/keyboard-mouse-user.js b/src/systems/userinput/bindings/keyboard-mouse-user.js index 06c9b4f6a81a401ca8c3c40994d837e2dd6946d5..40725bf3b869739a379583b535d9f654b1a8557a 100644 --- a/src/systems/userinput/bindings/keyboard-mouse-user.js +++ b/src/systems/userinput/bindings/keyboard-mouse-user.js @@ -12,7 +12,9 @@ const dropWithRMBorEscBindings = [ { src: { value: paths.device.mouse.buttonRight }, dest: { value: dropWithRMB }, - xform: xforms.falling + xform: xforms.falling, + root: "rmb", + priority: 200 }, { src: { value: paths.device.keyboard.key("Escape") }, @@ -136,6 +138,26 @@ export const keyboardMouseUserBindings = { value: paths.actions.logDebugFrame }, xform: xforms.rising + }, + { + src: { + value: paths.device.mouse.buttonRight + }, + dest: { + value: paths.actions.startGazeTeleport + }, + xform: xforms.rising, + root: "rmb", + priority: 100 + }, + { + src: { + value: paths.device.mouse.buttonRight + }, + dest: { + value: paths.actions.stopGazeTeleport + }, + xform: xforms.falling } ],