• src/conio/win32cio.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Jun 30 09:27:38 2026
    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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)