diff --git a/scripts/system/makeUserConnection.js b/scripts/system/makeUserConnection.js index e750c7179f..0b73beaca5 100644 --- a/scripts/system/makeUserConnection.js +++ b/scripts/system/makeUserConnection.js @@ -688,12 +688,12 @@ function makeGripHandler(hand, animate) { } function keyPressEvent(event) { - if ((event.text === "x") && !event.isAutoRepeat) { + if ((event.text === "x") && !event.isAutoRepeat && !event.isShifted && !event.isMeta && !event.isControl && !event.isAlt) { updateTriggers(1.0, true, Controller.Standard.RightHand); } } function keyReleaseEvent(event) { - if ((event.text === "x") && !event.isAutoRepeat) { + if ((event.text === "x") && !event.isAutoRepeat && !event.isShifted && !event.isMeta && !event.isControl && !event.isAlt) { updateTriggers(0.0, true, Controller.Standard.RightHand); } }