From e01524abbe4c6657341ee78c1037edce20c28196 Mon Sep 17 00:00:00 2001 From: PhilipRosedale Date: Fri, 4 Mar 2016 11:24:35 -0800 Subject: [PATCH] fix for clicking --- examples/controllers/handControllerMouse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/controllers/handControllerMouse.js b/examples/controllers/handControllerMouse.js index d353afab5e..8807fb9794 100644 --- a/examples/controllers/handControllerMouse.js +++ b/examples/controllers/handControllerMouse.js @@ -35,7 +35,7 @@ function moveReticleAbsolute(x, y) { var MAPPING_NAME = "com.highfidelity.testing.reticleWithHandRotation"; var mapping = Controller.newMapping(MAPPING_NAME); -if (Controller.Hardware.hydra !== undefined) { +if (Controller.Hardware.Hydra !== undefined) { mapping.from(Controller.Hardware.Hydra.L3).peek().to(Controller.Actions.ReticleClick); mapping.from(Controller.Hardware.Hydra.R4).peek().to(Controller.Actions.ReticleClick); }