From caae804318c652c00d07e83b634e633c719b8d48 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Fri, 20 Jan 2017 10:12:15 -0800 Subject: [PATCH] re-enable haptic pulse when stylus touches tablet overlay --- scripts/system/controllers/handControllerGrab.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 223902e5c5..043e3df363 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -1758,6 +1758,8 @@ function MyController(hand) { if (rayPickInfo.overlayID) { var overlay = rayPickInfo.overlayID; + Controller.triggerHapticPulse(1, 20, this.hand); + if (Overlays.keyboardFocusOverlay != overlay) { Entities.keyboardFocusEntity = null; Overlays.keyboardFocusOverlay = overlay;