Wild guess at where it might come from: 32ms divided by 4 is 0.008s which gives us 125Hz (the typical mouse sample rate). So my guess is that some form of mouse movement analysis (like mouse smoothing) is working on at least four samples (so that it can statistically mean something), rolling. Why it does so might be that 32ms is the right time to evaluate the intent of a typical human interaction with a pointer, mayb…
I'm a little surprised that mouse state is something that a modern OS would be sampling (as opposed to, say, getting events 'pushed' by the device up through the driver). Or is this one of those "all event systems are really sampling once you look deep enough" things?
32ms is FOREVER for game input. That's two whole frames of a 60hz game.