• src/doors/syncscumm/test/test_sst_mouse.csrc/doors/syncscumm/door/sst_

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, July 18, 2026 03:02:49
    https://gitlab.synchro.net/main/sbbs/-/commit/816a78bdbc0c9d5899115862
    Added Files:
    src/doors/syncscumm/test/test_sst_mouse.c
    Modified Files:
    src/doors/syncscumm/door/sst_io.c sst_io.h src/doors/syncscumm/test/unit_sst_io.sh
    Log Message:
    syncscumm: parse SGR mouse into a game-coordinate event queue

    Enable DEC 1003/1006/1016 mouse (via termgfx/mouse) alongside the other
    startup probes, parse the SGR reports and the DECRQM reply in
    csi_final(), and map each report -- pixel-granular under 1016, else the
    cell centre in real cell pixels -- onto the 320x200 game surface through
    the same fit+center rect the frame is drawn in (factored out of the
    present path so the two can't disagree). Reports land in a small input
    FIFO the backend drains next. Coordinate-mapping unit test added.

    Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

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