MAG_MEDIUM
magnitude(input, t->pos->dx, t->pos->dy) >= MAG_MEDIUM))
|| magnitude(input, pos->dx, pos->dy) < MAG_MEDIUM)
if (magnitude(input, t->pos->dx, t->pos->dy) > MAG_MEDIUM)
mag = tp->scroll.mag = imin(MAG_MEDIUM,