Edit: doesn't appear to be working at all with a Bluetooth-connected Amazon Luna controller on Linux (openSUSE Tumbleweed, using Brave browser).
But once I get WebHID direct controller support implemented I will get this working with or without Gamepad API support.
But once I get WebHID direct controller support implemented I will get this working with or without Gamepad API support.