mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 17:09:17 +02:00
Add missing js to haptic feedback change
This commit is contained in:
parent
8741c5e6a4
commit
96da032b16
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onBackPressed() {
|
function onBackPressed() {
|
||||||
Controller.triggerHapticPulse(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 1.0, 0);
|
Controller.triggerHapticPulseOnDevice(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 40.0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onBackClicked() {
|
function onBackClicked() {
|
||||||
|
|
|
@ -49,7 +49,7 @@ function onMuteClicked() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMutePressed() {
|
function onMutePressed() {
|
||||||
Controller.triggerHapticPulse(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 1.0, 0);
|
Controller.triggerHapticPulseOnDevice(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 40.0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMuteToggled() {
|
function onMuteToggled() {
|
||||||
|
|
Loading…
Reference in a new issue