Andre
2016-11-09 23:37:16 UTC
Hi everybody,
I have a problem with `SDL_GetMouseState`: I want to get the inital
mouse coords before the user moves the mouse, but the function only
returns 0 for the x and y coord.
I have attached a MWE that shows my problem. The first line that is
printed is always "init: 0, 0". I expected it to give the actual coords.
I tried this example under Linux only.
I really appreciate any help you can provide.
I have a problem with `SDL_GetMouseState`: I want to get the inital
mouse coords before the user moves the mouse, but the function only
returns 0 for the x and y coord.
I have attached a MWE that shows my problem. The first line that is
printed is always "init: 0, 0". I expected it to give the actual coords.
I tried this example under Linux only.
I really appreciate any help you can provide.