76
Window / Questions about sf::Input
« on: January 02, 2011, 07:25:06 am »
but won't the mouse position from sf::Event and sf::Input yield the same result?
e.g
1. Get mouse coord e.g (250, 280)
2. store the mouse coord in the my program
3. mouse is moved to (270, 200)
4. an sf::Event is fired off by the OS
5. Read sf::Event from event loop and update the new mouse coord
Suppose I do something as above, would it be less real time from the sf::Input version?
regards
e.g
1. Get mouse coord e.g (250, 280)
2. store the mouse coord in the my program
3. mouse is moved to (270, 200)
4. an sf::Event is fired off by the OS
5. Read sf::Event from event loop and update the new mouse coord
Suppose I do something as above, would it be less real time from the sf::Input version?
regards