[SDL] SDL mouse events.

Tim Angus tim at ngus.net
Mon Mar 17 08:38:59 PDT 2008


Lucas wrote:
>> Note that the SDL_Get*MouseState API functions don't help since these
>> still query the SDL event queue. It would be nice if these calls simply
>> passed through to the platform specific mouse query functions directly.
>> Obviously this approach is mutually exclusive with handling mouse events
>> on the SDL queue, so it would need to be disabled. I think this is what
>> is required to placate the twitch-shooter brigade :(
>>
>> However, I was under the impression (without actually looking at the
>> evidence) that 1.3 had fixed this issue with ManyMouse stuff? Is this
>> not the case?
> 
> &&
> Sam Lantinga wrote:
>> Yes, you're always welcome to ignore the events using SDL_EventState()
>> and they won't fill the queue, but you'll still be able to poll the 
>> current
>> position.
> 
> Aren't these two statements contradicting?

Is it possible that I've completely missed a big chunk of functionality 
here? Yes. I'll experiment later tonight.


More information about the SDL mailing list