SFML community forums

General => General discussions => Topic started by: Agustin on October 06, 2008, 06:04:22 pm

Title: Strange problem with MouseMove event in Mac OSX
Post by: Agustin on October 06, 2008, 06:04:22 pm
Hi there!

I know the OSX port is still in development, but perhaps I'm doing something wrong. I need to capture the movement of mouse, so I first tried the MouseMove event. This event won't be captured unless a button is clicked! That is, I can get the event only when the mouse button is pressed.

I also attempted using the App.GetInput().GetMouseX() method but the result is the same - unless I press a button, the values returned won't change.

Everything else works beautifully and the port feels mature enough except for this issue. Any ideas?

Thanks in advance, and congratulations to everyone involved in the development of this fantastic tool! :D

Agustin
Title: Strange problem with MouseMove event in Mac OSX
Post by: coral on October 06, 2008, 10:10:28 pm
Hey agustin, the OSX version on the download page is an old version, if you want to try out the new (that hopefully work), get the SVN and compile it yourself!

Hopefully it will work then.
Title: Strange problem with MouseMove event in Mac OSX
Post by: Agustin on October 06, 2008, 10:45:16 pm
OK, I will! Thanks for the quick reply :)