ebiten: update comments about VibrateGamepad

This commit is contained in:
Hajime Hoshi 2022-04-15 13:55:54 +09:00
parent 46aceb19b4
commit efe11b2890

View File

@ -70,6 +70,8 @@ type VibrateGamepadOptions struct {
// VibrateGamepad vibrates the specified gamepad with the specified options. // VibrateGamepad vibrates the specified gamepad with the specified options.
// //
// VibrateGamepad works only on browsers and Nintendo Switch so far.
//
// VibrateGamepad is concurrent-safe. // VibrateGamepad is concurrent-safe.
func VibrateGamepad(gamepadID GamepadID, options *VibrateGamepadOptions) { func VibrateGamepad(gamepadID GamepadID, options *VibrateGamepadOptions) {
g := gamepad.Get(gamepadID) g := gamepad.Get(gamepadID)