https://gitlab.synchro.net/main/sbbs/-/commit/bfc8252d61ad9fb1d54bcb2c
Modified Files:
src/doors/syncdoom/m_menu.c syncdoom.c xtrn/syncdoom/syncdoom.example.ini
Log Message:
SyncDOOM: mouse mode + sensitivity controls on the in-game Options menu
The terminal-mouse steering mode (off/steer/follow) was only reachable via
the Ctrl-O hotkey, and there was no way to adjust its turn rate at all --
the gains were fixed #defines. Surface both on the Options menu, below the key-feel sliders, as two inline rows:
MOUSE -- cycles OFF / STEER / FOLLOW (ENTER; same as Ctrl-O)
MOUSE SENS -- a 1..9 turn-rate scale (LEFT/RIGHT); greys to "OFF" while
the mouse is off
Sensitivity (g_mouse_sens, default 5 = the previous built-in feel) scales
both styles' turn rate by sens/5, so 1 is slower/finer and 9 is ~1.8x
faster. It persists per-user as [input] mouse_sens (house-ini + example.ini documented) alongside the existing mouse mode.
The rows draw before the kitty/evdev early-return in M_DrawInputSliders so
they stay live even when the keyboard-feel sliders grey out (kitty/evdev is
a keyboard protocol -- terminal mouse steering is unaffected). MESSAGES is dropped from the menu to make room; messages stay on (their default).
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net