diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml index cb10cc5eef..c546af218b 100644 --- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml +++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml @@ -77,6 +77,21 @@ Rectangle { Tablet.playSound(TabletEnums.ButtonClick); muted = Qt.binding(function() { return AudioScriptingInterface.muted; }); // restore binding } + + onPressed: { + if (pushToTalk) { + AudioScriptingInterface.pushingToTalk = true; + Tablet.playSound(TabletEnums.ButtonClick); + } + } + + onReleased: { + if (pushToTalk) { + AudioScriptingInterface.pushingToTalk = false; + Tablet.playSound(TabletEnums.ButtonClick); + } + } + onContainsMouseChanged: { if (containsMouse) { Tablet.playSound(TabletEnums.ButtonHover);