mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +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() {
|
||||
Controller.triggerHapticPulse(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 1.0, 0);
|
||||
Controller.triggerHapticPulseOnDevice(Controller.findDevice("TouchscreenVirtualPad"), 0.1, 40.0, 0);
|
||||
}
|
||||
|
||||
function onBackClicked() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue