From fdda0e625f1c0e08ce7a158a845ff54ae8a9e078 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 4 Dec 2021 22:44:11 +0900 Subject: [PATCH] ebiten: Add comments about Vibrate --- vibrate.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vibrate.go b/vibrate.go index 70954c003..cd45fdf84 100644 --- a/vibrate.go +++ b/vibrate.go @@ -34,13 +34,15 @@ type VibrateOptions struct { // // 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: // // // // On Android, Intensity in the options is recognized only when the API Level is 26 or newer. // 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. // Otherwise, Vibrate does nothing. //