--- nono/vm/x68kkbd.cpp 2026/04/29 17:04:59 1.1.1.7 +++ nono/vm/x68kkbd.cpp 2026/04/29 17:05:03 1.1.1.8 @@ -110,8 +110,9 @@ X68030Keyboard::KeyInput(uint keystat) return; } keycode = KC_SHIFT; + // keycode を変更したので keystat も更新 - keystat = keycode | (ismake ? KC_FLAG_MAKE : KC_FLAG_BREAK); + keystat = (keystat & 0xff00) | keycode; } // 共通処理へ