1
Window / Relative mouse position on mac os x using SetCursorPosition
« on: October 30, 2009, 07:09:19 pm »
I see... In any case there has to be a way of doing an FPS camera on SFML and OSX. Hasn't anyone done it before?
EDIT:
I succeeded using a different approach. I used CGGetLastMouseDelta (from the ApplicationServices framework) to get the mouse delta. This function ignores the screen borders, so you can move the mouse indefinitely. As long as I don't want to click (you would click outside the window) I'm good with this solution.
EDIT:
I succeeded using a different approach. I used CGGetLastMouseDelta (from the ApplicationServices framework) to get the mouse delta. This function ignores the screen borders, so you can move the mouse indefinitely. As long as I don't want to click (you would click outside the window) I'm good with this solution.