Issue 7968: Added keybinds for increasing, decreasing, and muting audio.

This commit is contained in:
FL.dolphinemu 2014-12-28 22:03:21 +01:00
commit 78f8bf7423
7 changed files with 60 additions and 1 deletions

View file

@ -62,6 +62,11 @@ static const struct
{ "Wiimote4Connect", 347 /* WXK_F8 */, 1 /* wxMOD_ALT */ },
{ "BalanceBoardConnect",348 /* WXK_F9 */, 1 /* wxMOD_ALT */ },
#endif
{ "VolumeUp", 0, 0 /* wxMOD_NONE */ },
{ "VolumeDown", 0, 0 /* wxMOD_NONE */ },
{ "VolumeToggleMute", 0, 0 /* wxMOD_NONE */ },
{ "ToggleIR", 0, 0 /* wxMOD_NONE */ },
{ "ToggleAspectRatio", 0, 0 /* wxMOD_NONE */ },
{ "ToggleEFBCopies", 0, 0 /* wxMOD_NONE */ },
@ -609,6 +614,8 @@ void SConfig::LoadDSPSettings(IniFile& ini)
#endif
dsp->Get("Volume", &m_Volume, 100);
dsp->Get("CaptureLog", &m_DSPCaptureLog, false);
m_IsMuted = false;
}
void SConfig::LoadInputSettings(IniFile& ini)