openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ofGetPreviousMouseX/Y() does not update per frame

Open kylemcdonald opened this issue 15 years ago • 5 comments

every frame, it should update the pmouse value. so if you don't move the mouse, the pmouse value is equal to the current value.

kylemcdonald avatar Jan 16 '11 07:01 kylemcdonald

this is related to issue #389

kylemcdonald avatar Mar 20 '11 17:03 kylemcdonald

just want to update and say this is still an issue with GLFW

kylemcdonald avatar Jul 28 '13 18:07 kylemcdonald

GLFW provides a method for mouse position retrivial: http://www.glfw.org/docs/3.0/group__input.html#ga01d37b6c40133676b9cea60ca1d7c0cc void glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos) we can use this method instead of the passive callbacks

nongio-zz avatar Aug 12 '13 09:08 nongio-zz

I dont think that this is a bug. MousePosition is independent of frame rate.

Ahbee avatar Mar 20 '14 18:03 Ahbee

Closing this in favor of #3359

bilderbuchi avatar Nov 02 '14 12:11 bilderbuchi