From 6c2ceaba02331c433fdf5db4753007ed4e597230 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 22 Nov 2026 01:26:46 +0100 Subject: mousew16: turns out win3.x does support middle button, so pass it through in the driver --- mousetsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mousetsr.c') diff --git a/mousetsr.c b/mousetsr.c index 1e33dc2..e1fb1b9 100644 --- a/mousetsr.c +++ b/mousetsr.c @@ -661,7 +661,7 @@ static void handle_mouse_event(uint16_t buttons, bool absolute, int x, int y, ch uint16_t elapsed_ticks = cur_ticks - data.last_motion_ticks; data.cur_speed = (data.total_motion / elapsed_ticks) * 18; // Extrapolate speed from movement in this tick #if TRACE_EVENTS - dprintf("mouse speed = %u / threshold = %u total_motion in last %u ticks = %u\n", data.cur_speed, data.doubleSpeedThreshold * data.doubleSpeedThreshold, elapsed_ticks, data.total_motion); + dprintf("mouse speed = %u / threshold = %u total_motion in last %u ticks = %u\n", data.cur_speed, data.double_speed_threshold * data.double_speed_threshold, elapsed_ticks, data.total_motion); #endif data.total_motion = 0; data.last_motion_ticks = cur_ticks; -- cgit v1.2.3