[BUG] SDL_GetMouseState ≠ SDL_MouseButtonEvent |
krux
|
sorry if I repost here to just bring this topic to the top again. But I think this is really a major bug that can be fixed easily. So pleas any response. And sorry for the unprintable not equals sign in the title, didn't know that this board replaces it with something that is displayed wrongly everywhere.
|
|||||||||||
|
[BUG] SDL_GetMouseState ≠ SDL_MouseButtonEvent |
Daniel Gibson
Guest
|
Am 08.08.2014 00:41, schrieb krux:
Sounds like a bug to me, did you create an issue in https://bugzilla.libsdl.org/ ? Cheers, Daniel _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
[BUG] SDL_GetMouseState ≠ SDL_MouseButtonEvent |
Sam Lantinga
|
What would be your preferred solution for this?
On Sun, Aug 10, 2014 at 9:34 AM, krux wrote:
|
|||||||||||||
|
[BUG] SDL_GetMouseState ≠ SDL_MouseButtonEvent |
Sam Lantinga
|
What would be your preferred solution for this?
On Sun, Aug 10, 2014 at 9:34 AM, krux wrote:
|
|||||||||||||
|
[BUG] SDL_GetMouseState ≠ SDL_MouseButtonEvent |
Leonardo
|
There's a bug in the bugzilla for this issue already:Â https://bugzilla.libsdl.org/show_bug.cgi?id=2442
You could work around it by using event handlers, as the renderers fixes the mouse events according to its logical size. I don't know how should we go because getting the true mouse coordinates can be useful...? Maybe through another function, say, SDL_GetAbsoluteMouseState(), to make it clear. 2014-08-20 2:12 GMT-03:00 Sam Lantinga:
|
|||||||||||||||
|