mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Add comments about Vibrate
This commit is contained in:
parent
39ef252c2e
commit
fdda0e625f
@ -34,13 +34,15 @@ type VibrateOptions struct {
|
|||||||
//
|
//
|
||||||
// On browsers, Intensity in the options is ignored.
|
// On browsers, Intensity in the options is ignored.
|
||||||
//
|
//
|
||||||
// On Android, this line is required in the manifest setting to use the vibration:
|
// On Android, this line is required in the manifest setting to use Vibrate:
|
||||||
//
|
//
|
||||||
// <uses-permission android:name="android.permission.VIBRATE"/>
|
// <uses-permission android:name="android.permission.VIBRATE"/>
|
||||||
//
|
//
|
||||||
// On Android, Intensity in the options is recognized only when the API Level is 26 or newer.
|
// On Android, Intensity in the options is recognized only when the API Level is 26 or newer.
|
||||||
// Otherwise, Intensity is ignored.
|
// Otherwise, Intensity is ignored.
|
||||||
//
|
//
|
||||||
|
// On iOS, CoreHaptics.framework is required to use Vibrate.
|
||||||
|
//
|
||||||
// On iOS, Vibrate works only when iOS version is 13.0 or newer.
|
// On iOS, Vibrate works only when iOS version is 13.0 or newer.
|
||||||
// Otherwise, Vibrate does nothing.
|
// Otherwise, Vibrate does nothing.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user