GPIO-based Input mode and profile select on boot#1620
Open
rmaccrimm wants to merge 75 commits intoOpenStickCommunity:mainfrom
Open
GPIO-based Input mode and profile select on boot#1620rmaccrimm wants to merge 75 commits intoOpenStickCommunity:mainfrom
rmaccrimm wants to merge 75 commits intoOpenStickCommunity:mainfrom
Conversation
…g and usb mode (required)
…are updated immutably
…top-level BootModeMapping
…with capture button
…r from controller
…mapping between enums in switch statements
…_t (no need for -1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a couple of related features I've been working on:
My goal with the second was to be able to set per-console profiles but not require a hotkey to be set to use them (to reduce the risk of accidentally triggering the hotkey mid-game).
This is accomplished with new configuration separate from the existing boot input-mode mapping, called
BootModeOptions. It includes a flag to enable/disable the functionality and I've done my best to maintain the old behaviour when it's disabled. The web-config looks like this (it's an entirely new page as that was just easier, largely based off the pin mapping page):Some other non-functional changes I made: