mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
Remove RMB as a default cancel key. We'll let the user bind it to cancel manually.
This commit is contained in:
1 parent
57ab8aa611
commit
0c249f0084
1 file changed
+4
-1
+4
-1
@@ -222,11 +222,14 @@ void UpdateConfirmCancelKeys() {
|
||||
cancelKeys.push_back((keycode_t)i->keyCode);
|
||||
}
|
||||
|
||||
// Push several hard-coded keys before submitting to native.
|
||||
if(std::find(cancelKeys.begin(), cancelKeys.end(), NKCODE_ENTER) == cancelKeys.end())
|
||||
confirmKeys.push_back(NKCODE_ENTER);
|
||||
|
||||
const keycode_t hardcodedCancelKeys[] = {
|
||||
NKCODE_SPACE,
|
||||
NKCODE_ESCAPE,
|
||||
NKCODE_BACK,
|
||||
NKCODE_EXT_MOUSEBUTTON_2
|
||||
};
|
||||
|
||||
// If they're not already bound, add them in.
|
||||
|
||||
Reference in new issue
Block a user