Add mappable devkit-only L2/L3/R2/R3 controls.

Can be used to bring up a debug menu in Castlevania: SOTN, see issue #17464

Could also be used in PPSSPP-specific homebrew, in theory.

Fixes #17464
This commit is contained in:
Henrik Rydgård committed 2024-09-24 10:49:10 +02:00
1 parent 1935bba789
commit 2613745cdd
3 files changed
+16 -1

No files matched your search

@@ -50,6 +50,11 @@ const std::unordered_map<std::string, uint32_t> buttonLookup = {
{ "forward", CTRL_FORWARD },
{ "back", CTRL_BACK },
{ "playpause", CTRL_PLAYPAUSE },
// Obscure unmapped keys, see issue #17464
{ "l2", CTRL_L2 },
{ "l3", CTRL_L3 },
{ "r2", CTRL_R2 },
{ "r3", CTRL_R3 },
};
struct WebSocketInputState : public DebuggerSubscriber {