Issue with having multiple joypads/controllers for different players

Godot Version



So, to know what controller controls who, I currently use this solution:
Input.is_joy_button_pressed(player_index, JOY_BUTTON_A)
and also
Input.get_joy_axis(player_index, JOY_AXIS_LEFT_X)

The problem is when using Input.joy_connection_changed, it fires twice for a single controller? Input.get_connected_joypads() shows three joypads instead of two. Two of them are XINPUT and another one is just the regular XBOX Bluetooth controller. The extra seems to disappear after a little while, but without firing joy_connection_changed…

Can someone help me with the issue?