mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
commit
4602f896a2
@ -698,6 +698,7 @@ const KeyMap_IntStrPair psp_button_names[] = {
|
||||
{VIRTKEY_TEXTURE_DUMP, "Texture Dumping"},
|
||||
{VIRTKEY_TEXTURE_REPLACE, "Texture Replacement"},
|
||||
{VIRTKEY_SCREENSHOT, "Screenshot"},
|
||||
{VIRTKEY_MUTE_TOGGLE, "Mute toggle"},
|
||||
|
||||
{CTRL_HOME, "Home"},
|
||||
{CTRL_HOLD, "Hold"},
|
||||
|
@ -57,6 +57,7 @@ enum {
|
||||
VIRTKEY_TEXTURE_DUMP = 0x40000019,
|
||||
VIRTKEY_TEXTURE_REPLACE = 0x4000001A,
|
||||
VIRTKEY_SCREENSHOT = 0x4000001B,
|
||||
VIRTKEY_MUTE_TOGGLE = 0x4000001C,
|
||||
VIRTKEY_LAST,
|
||||
VIRTKEY_COUNT = VIRTKEY_LAST - VIRTKEY_FIRST
|
||||
};
|
||||
|
@ -631,6 +631,9 @@ void EmuScreen::onVKeyDown(int virtualKeyCode) {
|
||||
case VIRTKEY_RAPID_FIRE:
|
||||
__CtrlSetRapidFire(true);
|
||||
break;
|
||||
case VIRTKEY_MUTE_TOGGLE:
|
||||
g_Config.bEnableSound = !g_Config.bEnableSound;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user