[SDL] Incorrect mouse position while pressed some key

David Olofson david.olofson at reologica.se
Thu Oct 17 02:02:00 PDT 2002


On Thursday 17 October 2002 00:10, Bob Pendleton wrote:
> On Wed, 2002-10-16 at 16:41, Sam Lantinga wrote:
> > > What we will do with this?
> >
> > Any suggestions?
>
> Compressing mouse motion events is easy, and has been discussed on this
> list many times. The usual complaint is that we are getting to many
> events. OTOH, if you want more precise motion events and the OS won't
> give them to you, you are up that well known creek. Someone, not me, I
> haven't done Windows in a long time, should do a detailed search in the
> MS knowledge base on the subject and try to find a way to turn this
> effect off.
>
> 'cause I think the choices are "turn it off" and "live with it."

Well, I don't think "motion event flooding" is an issue, but rather a 
matter of knowing how to handle motion events correctly. (This is done 
all the time by normal applications and/or the GUI toolkits they use. 
Should be common knowledge.)

So, the *proper* solution IMHO, would be to kill these undesired 
compression features when possible, to ensure consistency across 
platforms, and across mouse button states.

Question is how. (And I generally stay at least a crosscompile away from 
Win32. :-)


//David Olofson - Programmer, Composer, Open Source Advocate

.- Coming soon from VaporWare Inc...------------------------.
| The Return of Audiality! Real, working software. Really!  |
| Real time and off-line synthesis, scripting, MIDI, LGPL...|
`-----------------------------------> (Public Release RSN) -'
.- M A I A -------------------------------------------------.
|    The Multimedia Application Integration Architecture    |
`----------------------------> http://www.linuxdj.com/maia -'
   --- http://olofson.net --- http://www.reologica.se ---




More information about the SDL mailing list