08-25-2013, 03:13 PM (This post was last modified: 08-26-2013, 09:43 AM by Ety04.)
Hi everyone,
I've tried PPSSPP and so far I think it's a great software, thanks to all the team.
But I'd like to use the Backspace key as the Circle key (or whatever I want), for me it's very important.
How can I set it? By default it always brings me to PPSSPP menu, which is already done by Esc.
I tried to set Circle as Backspace in Control mapping, but the "back to PPSSPP menu" function always overrides my choice. Haven't found any option to fix that.
(08-25-2013, 03:23 PM)vsub_ Wrote: The backspace is hardcoded.
You can set the key but that won't prevent the hardcoded function(show the game screen while ingame or go back in menus)
Thanks for the quick reply.
So what can I do? Is there a way I can get to change that setting and recompile a version for myself?
08-25-2013, 03:50 PM (This post was last modified: 08-25-2013, 03:54 PM by TheDax.)
It's hard-coded to always go back in menus, but it shouldn't be showing the pause screen if you unbind it from pause(actually, in 0.9.1 official, it'll be forced, but in the newer dev builds it should be completely flexible)..
If you know how to compile, yes, you can change the hard-coded key.
In this function, simply remove NKCODE_ESCAPE from the list of hard coded Cancel keys. I hard coded escape because we have to have a bare minimum of accept and cancel keys, otherwise you wouldn't be able to navigate the UI. It's supposed to NOT act as a menu opener when you un-bind it from pause and re-bind it to something else, though..
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
(08-25-2013, 03:50 PM)daxtsu Wrote: It's hard-coded to always go back in menus, but it shouldn't be showing the pause screen if you unbind it from pause(actually, in 0.9.1 official, it'll be forced, but in the newer dev builds it should be completely flexible)..
If you know how to compile, yes, you can change the hard-coded key.
In this function, simply remove NKCODE_ESCAPE from the list of hard coded Cancel keys. I hard coded escape because we have to have a bare minimum of accept and cancel keys, otherwise you wouldn't be able to navigate the UI. It's supposed to NOT act as a menu opener when you un-bind it from pause and re-bind it to something else, though..
No problem. Hope you find a good solution that works for you.
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Change the Working Directory under PPSSPPWindows -> Properties -> Debugging to ".." without quotes.
4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
After downloading these, just replace your "PPSSPPWindows" application (or PPSSPPWindows64) in the root folder that comes with your official download of PPSSPP, by the corresponding one above (can't work without the official download's structure).
In the project:
You have to go to the following file: ppsspp/UI/EmuScreen.cpp
And change the key(KeyInput &key) function as follows,
From:
Code:
void EmuScreen::key(const KeyInput &key) {
if (key.keyCode == NKCODE_BACK)
pauseTrigger_ = true;
int result = KeyMap::KeyToPspButton(key.deviceId, key.keyCode);
if (result == KEYMAP_ERROR_UNKNOWN_KEY)
return;
pspKey(result, key.flags);
}
To:
Code:
void EmuScreen::key(const KeyInput &key) {
int result = KeyMap::KeyToPspButton(key.deviceId, key.keyCode);
if (result == KEYMAP_ERROR_UNKNOWN_KEY)
return;
pspKey(result, key.flags);
}
(remove the 2 lines of the first "if")
This is it!
daxtsu, great! That worked for seeing the interface clearly from Visual Studio.
Your suggestion above was cool also (though only the thing mentioned here works).