mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Add a comment about Vibrate
This commit is contained in:
parent
aafa20c222
commit
b638b72f0b
@ -22,6 +22,10 @@ import (
|
||||
//
|
||||
// Vibrate works on mobiles and browsers.
|
||||
//
|
||||
// On Android, this line is required in the manifest setting to use the vibration:
|
||||
//
|
||||
// <uses-permission android:name="android.permission.VIBRATE"/>
|
||||
//
|
||||
// Vibrate is concurrent-safe.
|
||||
func Vibrate(duration time.Duration) {
|
||||
uiDriver().Vibrate(duration)
|
||||
|
Loading…
Reference in New Issue
Block a user