Add missing js to haptic feedback change

This commit is contained in:
Gabriel Calero 2018-05-17 11:49:44 -03:00
parent 8741c5e6a4
commit 96da032b16
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ function init() {
}
function onBackPressed() {
Controller.triggerHapticPulse(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 1.0, 0);
Controller.triggerHapticPulseOnDevice(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 40.0, 0);
}
function onBackClicked() {

View file

@ -49,7 +49,7 @@ function onMuteClicked() {
}
function onMutePressed() {
Controller.triggerHapticPulse(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 1.0, 0);
Controller.triggerHapticPulseOnDevice(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 40.0, 0);
}
function onMuteToggled() {