diff options
| author | David Racine <bass_dr@hotmail.com> | 2026-09-13 20:29:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-14 00:29:52 +0000 |
| commit | ea348bc9fbfb6407a6c9bd8864df4d10c6d46b05 (patch) | |
| tree | 11d55ee7df88e924bfe9ed9dbf2562bfc83bff24 | |
| parent | 11fd0e0e7094788e8457d418b94afcfae928b19d (diff) | |
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.
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | soh/soh/OTRGlobals.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 | diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 77156dbfe..5dedad2fc 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -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)); |
