flame-engine / gamepads

A Flutter plugin to handle gamepad input across multiple platforms.
MIT License
23 stars 4 forks source link

[Documentation/Discussion] Expected behaviour for listGamepads #20

Open markvideon opened 2 months ago

markvideon commented 2 months ago

On building the macOS example project if I have a gamepad and I connect and disconnect, the gamepad is still in the list as 'Unknown device'. If I connect the same gamepad again, the disconnected entry is still present and a second entry for the gamepad is created.

I thought this may be unexpected behaviour but it turns out the implementation was not documented.