Skip to content

Adding invert option to focus mode. #1671

Description

@caioferndev

Problem

Short version: add a toggle to let focus mode to be enabled by open rather than short.

Long version:
Image

I bought a comically oversized switch with a hat on it, cut a hole through my fight stick, then installed it. I realized too late that I can't flip the hat around on the switch to force short by default. There's a notch on one side only, forcing short by flipping upwards.

I wanted a switch that forces me to flip it to have access to HOME/START, instead the hat forces me to flip it to enable tournament lockout.

Solution

Enable a toggle setting that forces focus mode on open rather than short.

Do you plan to work on this feature yourself?

I already have a fork for this:

One more thing: I thought of extending this across all GPIO pin; I haven't looked at the arch of the repo yet to see if this is feasible. My current source uses the mask of the focus button to invert the outcome of (debouncedGpio & focusModeMask). This could be generally applied to all buttons mapped by the user. Maybe have a GUI that declares all GPIO they'd like inverted?

Activity

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

    enhancementNew feature or request - This may be considered for addition to the firmware in a later release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions