Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Feb 15, 2024
1 parent d087020 commit 2eaf119
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public void onTouch(TouchEvent event) {
if (stateListener != null) {
stateListener.onButtonPressedChange(this, pressed);
if (vibrator != null && vibrator.hasVibrator()) {
// Vibrate for 50 milliseconds
vibrator.vibrate(50);
// Vibrate for 1000 milliseconds
vibrator.vibrate((long)(1000));
}
}
}
Expand Down

0 comments on commit 2eaf119

Please sign in to comment.