Forums > MaxMSP

mousestate poll rate

February 8, 2013 | 7:55 pm

Help file says polling is every 50ms… i have it running more like every 10ms. This seems to be a maximum though, even if I use metro @ 1ms instead of the poll message. Any way to get this faster? Scheduler setting? Mxj?

(windows 8×64)

February 9, 2013 | 1:54 am

that is simply how fast any mouse is, since atari and amiga times.

maybe you want to interpolate the data (using [line]) to get more values?


February 9, 2013 | 2:46 am

@ Roman:

I don’t think that’s correct. You can adjust the polling rate, in Windows at any rate . . . up to 1kHz (USB maximum polling rate).

The following link discusses Vista/Win 7 but probably applies to Win 8 also . . . shouldn’t be too hard to track down W8-specific guides in any case.

As to how to get Max playing ball – no clue.


February 9, 2013 | 12:52 pm

The long and the short of it is that your hardware will set a hard limit on mouse polling speed, and the only way to go faster than that speed is to dump your hardware (certainly your mouse, but possibly the whole computer system) and replace it with another.

For many years (going back beyond the introduction of USB), mice would update data at around 60Hz (ie, about ever 16ms). Some modern mice may be faster than that.

But you have to realize that nothing you do with the software can break the speed limit set by your hardware.

February 10, 2013 | 3:43 pm

When I send a metro through mousestate @>500hz I only get bangs out @ 500hz…why would that be? It seems to be clipped there (and my mouse is polling 1000hz in other applications)

February 10, 2013 | 6:51 pm

True, but I cant get better than 2ms even if I set the event interval to 1ms.

February 10, 2013 | 9:24 pm

Have you tested that your mouse and related driver aren’t the limiting factor, presuming you have the USB polling rate set to 1kHz?

I presume so, but ask anyway ;).

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP