Axis orientation?
Posted: Tue Mar 06, 2012 9:02 pm
Ok so I fire up gimx-bluetooth and the emuclient, dumping the output to the console.
I can see when I move the mouse the axis values change. But one thing I found interesting is that the X value only shows positive values. Not only that, but it seems to track with the summation of mouse movement instead of mouse deltas. In other words, as I move the mouse to the right and then stop I see the value go to say 324 and then 0. Move it again and stop it becomes 326 and then 0. Keep moving and I see it incremental to 328, 329, 342..etc etc. I would expect it to show the amount that moved as opposed to the summation of movement.
2,2,1,3..etc.
ALso I figured it would show negative values as I move it to the left.
Am I just confused as to how the mouse input gets translated into axis movement?
I figured -X meant left, +x meant right, -Y meant down and +y meant up. And the faster I move the mouse the larger these absolute values.
Thanks for any insight,
I can see when I move the mouse the axis values change. But one thing I found interesting is that the X value only shows positive values. Not only that, but it seems to track with the summation of mouse movement instead of mouse deltas. In other words, as I move the mouse to the right and then stop I see the value go to say 324 and then 0. Move it again and stop it becomes 326 and then 0. Keep moving and I see it incremental to 328, 329, 342..etc etc. I would expect it to show the amount that moved as opposed to the summation of movement.
2,2,1,3..etc.
ALso I figured it would show negative values as I move it to the left.
Am I just confused as to how the mouse input gets translated into axis movement?
I figured -X meant left, +x meant right, -Y meant down and +y meant up. And the faster I move the mouse the larger these absolute values.
Thanks for any insight,