a11y: let F9 toggle TTS on Linux (#7191)

The hotkey was removed in #2833 because Linux had no synthesizer and fell
through to SpeechLogger. #5428 added the espeak-ng backend and un-gated the
settings checkbox, but left the hotkey and the README on Windows and macOS.
This commit is contained in:
David Racine
2026-09-13 20:29:52 -04:00
committed by GitHub
parent 11fd0e0e70
commit ea348bc9fb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ Congratulations, you are now sailing with the Ship of Harkinian! Have fun!
| F5 | Save state |
| F6 | Change state |
| F7 | Load state |
| F9 | Toggle Text-to-Speech (Windows and Mac only) |
| F9 | Toggle Text-to-Speech |
| F11 | Fullscreen |
| Tab | Toggle Alternate assets |
| Ctrl+R | Reset |
+1 -1
View File
@@ -1769,7 +1769,7 @@ extern "C" void Graph_StartFrame() {
break;
}
#if defined(_WIN32) || defined(__APPLE__)
#if defined(_WIN32) || defined(__APPLE__) || defined(ESPEAK)
case KbScancode::LUS_KB_F9: {
// Toggle TTS
CVarSetInteger(CVAR_SETTING("A11yTTS"), !CVarGetInteger(CVAR_SETTING("A11yTTS"), 0));