diff options
| author | Javier <dev.git@javispedro.com> | 2026-11-22 01:26:46 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-11-22 01:26:46 +0100 |
| commit | 6c2ceaba02331c433fdf5db4753007ed4e597230 (patch) | |
| tree | 38444c1f7bca67afb7b8aec037c8f2e9dac696c9 /mousetsr.c | |
| parent | 5e7e961a048fd3a4d58cecf866bc9714f35c192b (diff) | |
| download | vbados-6c2ceaba02331c433fdf5db4753007ed4e597230.tar.gz vbados-6c2ceaba02331c433fdf5db4753007ed4e597230.zip | |
mousew16: turns out win3.x does support middle button, so pass it through in the driver
Diffstat (limited to 'mousetsr.c')
| -rw-r--r-- | mousetsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
