-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Re order save slot and next slot button so we can make a custom button to save to next slot #20251
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
Comments
Hm why close? |
I looked at the code, seems like we shouldn't change the key maps lol https://github.com/hrydgard/ppsspp/blob/master/Core%2FKeyMap.h#L33 |
Oh you can add stuff at the end, but you shouldn't change the values. And we can actually change the order they're processed in, if needed. |
The order they are processed is tied to how they are saved in the bitmask right now. We could/should decouple it, still don't make this change lightly :) |
I find a work around by making 2 custom buttons and over laying them on top of each other. When i press the buttons, it first goes to the next slot, then saves, works great for my use case |
Can you link me to where this bit mask code is? And yeah ideally a way to set key combo order for custom buttons would be great |
This would require a proper UI for it, also might be confusing as PSP key are probably not handled sequentially by games when using custom buttons (not 100% sure about it, just a guess from how I remember the PSP data structure). A long term goal is to support custom touch controls with Lua, this use case might be better suited for a scripting language like that imho.
The bitmask is kinda all over the place as is a setting in the global struct, to keep in short: The bit mask in passed to the Lines 908 to 910 in e9ac447
Inside the class is stored in the field Lines 230 to 234 in e9ac447
Where the list of custom keys is here: Lines 286 to 331 in e9ac447
The bitmask is set to the config struct here: ppsspp/UI/CustomButtonMappingScreen.cpp Lines 221 to 225 in e9ac447
|
Awesome thanks! |
What should happen
Hi,
Should be a simple change, can the positions of the save slot and next slot buttons be swapped so that we can make a custom button that saves to next slot?
Right now the behavious is save to current slot and then go to next slot, which isn't ideal.
If someone can give me a starting point on the location of these button orders i can work on this pr as well.
Who would this benefit
All users of ppsspp
Platform (if relevant)
Android
Games this would be useful in
All games
Other emulators or software with a similar feature
No response
Checklist
The text was updated successfully, but these errors were encountered: