shithub: m8c

Download patch

ref: 1dc58e04a901e911a3a42914944932d33a91c500
parent: 2b1cdc00c92ebab8a194583fe4fb00225f55313b
author: laamaa <jonne.kokkonen@gmail.com>
date: Fri Sep 12 14:43:19 EDT 2025

update key mapping for log overlay toggle to F2 and adjust README.md accordingly

--- a/README.md
+++ b/README.md
@@ -181,8 +181,9 @@
 * Delete = opt+edit (deletes a row)
 * Esc = toggle keyjazz on/off
 * r / select+start+opt+edit = reset display (if glitches appear on the screen, use this)
+* F1 = open config editor
+* F2 = toggle in-app log overlay
 * F12 = toggle audio routing on / off
-* ` (grave) = toggle in-app log overlay
 
 ### Keyjazz
 
@@ -272,7 +273,7 @@
 
 An in-app log overlay is available for platforms where reading console output is inconvenient.
 
-- Default toggle key: ` (grave). You can change it in `config.ini` under `[keyboard]` using `key_toggle_log=<SDL_SCANCODE>`.
+- Default toggle key: F2. You can change it in `config.ini` under `[keyboard]` using `key_toggle_log=<SDL_SCANCODE>`.
 - The overlay shows recent `SDL_Log*` messages.
 - Long lines are wrapped to fit; the view tails the most recent output.
 
--- a/src/config.c
+++ b/src/config.c
@@ -54,7 +54,7 @@
   c.key_jazz_inc_velocity = SDL_SCANCODE_KP_MINUS;
   c.key_jazz_dec_velocity = SDL_SCANCODE_KP_PLUS;
   c.key_toggle_audio = SDL_SCANCODE_F12;
-  c.key_toggle_log = SDL_SCANCODE_GRAVE; // default to ` key
+  c.key_toggle_log = SDL_SCANCODE_F2;
 
   c.gamepad_up = SDL_GAMEPAD_BUTTON_DPAD_UP;
   c.gamepad_left = SDL_GAMEPAD_BUTTON_DPAD_LEFT;
--