Skip to content

Use GPIO pins for boot input mode select #1425

@rmaccrimm

Description

@rmaccrimm

Problem

After changing profiles, the physical buttons used to select input mode may change on the next boot due to different pin mappings. Often I just end up doing a lot of guess-and-checking as I restart the device until I get the right input mode.

Solution

I've implemented a fairly simple alternative in which you enable a GPIO input mode select flag and then configure a list of mappings from pin numbers to input modes. It adds the following new fields to GamepadOptions

Image

Do you plan to work on this feature yourself?

Yes, I've already got the basic functionality working. If there aren't any problems/concerns around adding this I can figure something out for the web config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions