Mouse range

For anything related to IO (joypad, serial, XE...)

Moderator: BigEvilCorporation

Post Reply
User avatar
Sik
Very interested
Posts: 562
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Mouse range

Post by Sik » Mon Jan 09, 2017 10:31 am

viewtopic.php?f=23&t=2126&p=26956#p26914
The X/Y overflow flags are supposed to be set if the mouse is moved over a distance greater than can be measured. I can't get
them to become set, maybe the mouse supports a fairly wide range of movement.
Stupid question, what's the range actually reported by delta values in the mouse? We were doing some tests with PC mouses, and it turns out they like to clamp the range to -127 to +127 (effectively rendering the overflow flags unused, as the delta never manages to become large enough). It would be nice to know what the Sega Mouse and the Mega Mouse do, maybe their behavior happens to be similar.

Also I imagine a ball-based mouse is going to have a harder time to register a sudden motion like these tests would be doing (due to inertia).
Sik is pronounced as "seek", not as "sick".

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest