Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Drifting Mouse in Y Axis

$
0
0

@Daniel_Bennett wrote:

I think this is a bug, but I could be wrong.

On Linux, (of_v0.10.1_linux64gcc6_release) I get mouse drift in the Y axis. E.g. if I move my mouse up and down on the spot, the cursor gradually rises up the Y axis, relative to the operating system cursor.

I am getting mouse coordinates by calling

ofVec2f pos;
pos.set(ofGetMouseX(), ofGetMouseY());

And then using that pos to draw the cursor. If am doing some transforms on the pos coordinate, but nothing cumulative, and and I log the value of pos before doing any transforms, I can see that the value is drifting upwards.

Before I log this on github, Is this a known issue? Or is there anything dumb I might be doing that’s causing it.
Also are there any obvious fixes or workarounds?
I’ve been stuck on this for hours, and I need to run a study with this software on Mon. - any help appreciated

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles