diff options
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; |
