-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a hotkey to cycle between profiles. #1031
Conversation
Going to ask that we split this into two PRs to separate contexts. Locale changes go to a separate PR from functional ones. Also, no AI translations. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left review comments, in addition to echoing mikepparks's.
I have removed the localization to add to another pull request if this one is approved as requested by mikepparks and bsstephan. I have also fixed the spacing and enum issues that mikepparks brought up. I believe that resolves everything mentioned. But I'd be happy to take another look if there is anything else out of line. |
My review is satisfied, looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Added a hotkey option called "Next Profile". When assigned and pressed cycles to the next profile so that a button doesn't need to be assigned to each profile.
For example, if on Profile 1 it changes to Profile 2, then to 3, then to 4, then back to 1.
I removed lastAction = HOTKEY_NONE; from gamepad.cpp since it is already assigned on initialization in gamepad.h and seems to only cause hotkeys that use userRequestedReinit = true; to trigger rapidly while the button is held down.
For German and Portuguese translations, I had some friends that speak those languages confirm that they are correct translations. However, I used Chat GPT to get the simplified Chinese Translation. That should be considered a placeholder until someone that knows the language can take a look at it.
Resolves #1016