godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.14k stars 21.19k forks source link

Controller vibration not working in HTML5 #96985

Open michaelgundlach opened 2 months ago

michaelgundlach commented 2 months ago

Tested versions

4.3 and earlier

System information

Windows / OSX, Chrome

Issue description

Input.start_joy_vibration() does nothing in HTML exports.

May be related to #73446 .

Steps to reproduce

Export a game to HTML5 that runs Input.start_joy_vibration() and upload it to a webserver. No vibration.

Minimal reproduction project (MRP)

N/A

Febrandt commented 1 month ago

Input.start_joy_vibration() does nothing in HTML exports.

Currently godot doesn't support the gamepad controller vibration for web, only Input.vibrate_handheld()

michaelgundlach commented 1 month ago

Currently godot doesn't support the gamepad controller vibration for web, only Input.vibrate_handheld()

Right, this is what I am describing in this bug. Either we add the support, or we at least document that it is missing.