mirror of https://github.com/stella-emu/stella.git
defined default hotkey for sound on/off
This commit is contained in:
parent
40e12f0465
commit
481c63f980
|
@ -1518,8 +1518,8 @@
|
|||
|
||||
<tr>
|
||||
<td>Toggle sound on/off (*)</td>
|
||||
<td>Alt + '</td>
|
||||
<td>Cmd + '</td>
|
||||
<td>Control + ]</td>
|
||||
<td>Control + ]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
@ -524,6 +524,10 @@ void PhysicalKeyboardHandler::handleEvent(StellaKey key, StellaMod mod, bool sta
|
|||
myOSystem.console().changeHeight(-1);
|
||||
break;
|
||||
|
||||
case KBDK_RIGHTBRACKET: // Ctrl-] toggles sound
|
||||
myOSystem.sound().toggleMute();
|
||||
break;
|
||||
|
||||
default:
|
||||
handled = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue