dirtycommando
Newcomer
Hi all,
I have searched all over and simply couldn't find it. I am looking for a way to get the cursor position in X and Y coordinates relative to the screen. I have searched google and sythe for some sort of API but to no avail. I was expecting to find something as simple as getCursorPos(int,int); But i was mistaking...
So what I was wondering is if someone could possibly point me in the right direction or show me some sort of example implementation on how to obtain X and Y screen coordinates.
But I am also wondering at this point, Does an API exist? Or must this be done through JNI?
Thank you =).
-Dirty
I have searched all over and simply couldn't find it. I am looking for a way to get the cursor position in X and Y coordinates relative to the screen. I have searched google and sythe for some sort of API but to no avail. I was expecting to find something as simple as getCursorPos(int,int); But i was mistaking...
So what I was wondering is if someone could possibly point me in the right direction or show me some sort of example implementation on how to obtain X and Y screen coordinates.
But I am also wondering at this point, Does an API exist? Or must this be done through JNI?
Thank you =).
-Dirty

