Hotkeys for custom buttons#2870
Merged
Merged
Conversation
Owner
|
As this is mostly to facilitate hardware buttons, I think your choice of making them position based is perfect. |
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 adds hotkeys for custom buttons.

Instead of numbering the buttons in order of their appearance(green), I used the position/slot (purple).
Slot based hotkeys are pretty common in games, and this would also allow custom consoles with softkeys next to the screen. But if you prefer it the other way around, that would just be the removal of one line.
15 hotkeys, as that is the maximum that can be displayed (Engineering and most aux stations).
I wasn't entirely sure whether or not I should make yet another config tab for the custom buttons, but had them placed in general for now.