From 87e7637f8d242d3e8e06d0ba76ecf86bbd8af3c7 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 27 Sep 2026 19:09:46 +0200 Subject: properly implement msmouse-like sensitivity, separate from speed --- mousmain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mousmain.c') diff --git a/mousmain.c b/mousmain.c index 24801b7..dcc9de9 100644 --- a/mousmain.c +++ b/mousmain.c @@ -354,8 +354,8 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase) serial_set_modem_control(iobase, SERIAL_MCR_DTR | SERIAL_MCR_RTS); dputs("DTR ON, RTS ON"); - // Wait up to 10 ticks (550ms) for the mouse to send something we understand - for (delay = 10; delay > 0; delay--) { + // Wait up to 11 ticks (~600ms) for the mouse to send something we understand + for (delay = 11; delay > 0; delay--) { while (serial_data_ready(iobase)) { uint8_t car = serial_read_data(iobase); @@ -429,7 +429,7 @@ static int configure_driver_serial(LPTSRDATA data, int port, unsigned iobase) } #endif -/// Auto-configure the TSR. Try to detect which mouse we have connected and enable all possible integrations. +/// Configure the TSR. Try to detect which mouse we have connected and enable all possible integrations. static int configure_driver(LPTSRDATA data, unsigned num_ports, int ports[]) { int errs[MAX_PORTS+1] = {0}; -- cgit v1.2.3