1
System / Re: Invisible side-effects of setting the mouse position?
« on: August 17, 2018, 09:55:20 pm »
I guess I should try on other machines then. On my tests the difference is clearly visible : about 4 or 5 times less lines printed in the terminal for the right and bottom directions compared to the other two when moving the mouse very slowly.
My idea was that it could be linked with the things discussed in this SFML ticket about accessing raw input for mouse movement : https://github.com/SFML/SFML/issues/304. I thought that maybe if there is this raw mouse movement/position that exists somewhere, possibly sf::Mouse::setPosition resets it.
Thanks for looking at the problem anyway eXpl0it3r, but of course if you can't reproduce it it will be hard to do more.
My idea was that it could be linked with the things discussed in this SFML ticket about accessing raw input for mouse movement : https://github.com/SFML/SFML/issues/304. I thought that maybe if there is this raw mouse movement/position that exists somewhere, possibly sf::Mouse::setPosition resets it.
Thanks for looking at the problem anyway eXpl0it3r, but of course if you can't reproduce it it will be hard to do more.