Instead build an electron app that comms with the Arduino via serial.
It should be built in scuch a way that the Core is re-useable within a web app and the serial comms are abstracted such that they could be relaced with BT comms when aforementioned feature request is complete.
In theory much of the ground work will be done here so that when its possible to use Bluetooth comms instead of Serial it wont be a big task.
Build a utility that will allow the user to create custom button mappings.
Once inplace this will allow for future enhancements such as per game mappings.
The ideal solution will be a Web APP communicating with the Arduino via Web Bluetooth however until https://github.com/ricardoquesada/bluepad32/issues/30 is implemented thats not possible.
Instead build an electron app that comms with the Arduino via serial.
It should be built in scuch a way that the Core is re-useable within a web app and the serial comms are abstracted such that they could be relaced with BT comms when aforementioned feature request is complete.
In theory much of the ground work will be done here so that when its possible to use Bluetooth comms instead of Serial it wont be a big task.