Skip to content

Gamepad #14

Open
Open

Description

@inkeliz

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.

Activity

  1. converted this from a draft issue on Dec 19, 2022
  2. joeblew999 commented on Aug 13, 2025

    @joeblew999

    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.

  3. inkeliz commented on Aug 13, 2025

    @inkeliz
    ContributorAuthor

    The gamepad support is already half-baked and parked at gioui/gio-x#8, I just not have a use-case for that anymore, so I never add it into gio-x nor gio-plugins.

  4. joeblew999 commented on Nov 2, 2025

    @joeblew999

    Seems that the PR stalled

    Any suggestions ?

    Would it not be easier to just do it in this repo?

  5. moved this from In-Progress to Low-Priority in Roadmap and Rollercoasteron Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions