mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 15:31:53 +00:00
HotkeyManager: Add HK_TOGGLE_WII_SPEAK_MUTE
This commit is contained in:
parent
4efbd35a5e
commit
eff334524a
7 changed files with 35 additions and 9 deletions
|
@ -795,6 +795,20 @@ void Settings::SetUSBKeyboardConnected(bool connected)
|
|||
}
|
||||
}
|
||||
|
||||
bool Settings::IsWiiSpeakMuted() const
|
||||
{
|
||||
return Config::Get(Config::MAIN_WII_SPEAK_MUTED);
|
||||
}
|
||||
|
||||
void Settings::SetWiiSpeakMuted(bool muted)
|
||||
{
|
||||
if (IsWiiSpeakMuted() == muted)
|
||||
return;
|
||||
|
||||
Config::SetBaseOrCurrent(Config::MAIN_WII_SPEAK_MUTED, muted);
|
||||
emit WiiSpeakMuteChanged(muted);
|
||||
}
|
||||
|
||||
void Settings::SetIsContinuouslyFrameStepping(bool is_stepping)
|
||||
{
|
||||
m_continuously_frame_stepping = is_stepping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue