• src/conio/win32cio.c

    From Deucе@VERT to Git commit to main/sbbs/master on Tuesday, June 30, 2026 09:27:38
    https://gitlab.synchro.net/main/sbbs/-/commit/239cb6d603b02c968eefe635
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Map Win32 physical keys from set-1 scancodes

    Use the Win32 scan code plus enhanced-key state as a set-1-style physical key source instead of deriving physical identity from translated virtual-key codes. This keeps national-layout text keys position-oriented while preserving special-case handling for Pause, lock keys, modifiers, Print Screen, and higher function keys.

    Also keep VK_OEM_3 sorted in the Win32 key table so bsearch() remains valid.

    Co-Authored-By: OpenAI Codex <codex@openai.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net