Detect gamepad when connected via bluetooth

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By PipeVerri

I tried with this solution and it worked when connected it via USB:https://forum.godotengine.org/17892/check-if-controller-connected-or-not

but when i connect the controller via bluetooth, it works normaly(the player moves with the controller) but the solution from before doesnt detect it