Gamepad
Why that plugin should be added? Gamepad can be used for games and also for accessibility.
What features this plugin should have and how it should work? It should provide inputs from the Gamepad, at least common gamepads, such as xbox-controller. Of course, the range of gamepads varies so much, so it's impossible to handle all types of inputs at once. The plugin can either send events (similar to keyboard/mouse) or provide the state at the begin of the frame (which common for game).
What alternatives you've considered? None.
Is this plugin implementable on all OSes (Android, iOS, macOS, WASM, Windows...)? Yes.
Did you known any particular limitation for specific OS? On Android it's event-based, instead of state-based. That is unclear how to design the plugin to handle both worlds. Have multiple types of gamepad, which some OSes doesn't support without additional drivers or custom softwares.
Would be happy to work on this for web, desktop and mobile .
@inkeliz if you have any preferences for how this is done please let me know .
Games in 2D and 3D .
I have the need to support real gamepads and virtual ones on mobile screens also . So perhaps both is suitable for this pkg ?
Will also need to work out what physical gamepads to support and test with .
Also if you have an integration test framework or SAAS that you use , please let me know so that I can also use it to make PR’s as polished as possible.
The gamepad support is already half-baked and parked at https://github.com/gioui/gio-x/pull/8, I just not have a use-case for that anymore, so I never add it into gio-x nor gio-plugins.
Seems that the PR stalled
Any suggestions ?
Would it not be easier to just do it in this repo?