Jump to content

Mouse position in TARGET?


Recommended Posts

Hey everyone, I am struggling with target and I have a very specific problem I just can't figure out.

 

I am trying to center the mouse at a location based on where it currently is located and I just can't seem to get the correct location to start with.

 

I've been trying to do something like

 

TrimDXAxis( MOUSE_X_AXIS, SET(MOUSE_X_LOCATION- MOUSE_X_NEWLOCATION))

 

But I can't find any reference to anywhere I could actually get the current location of my mouse.

 

Does anyone know what I'm doing wrong here? Any help is deeply appreciated.

 

 

edit, never mind I found GetMouseX /Y in the hid device code, not sure what it returns though doesn't seem to be the right values. I wish there was a decent manual for this.


Edited by Irregular programming
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...