I am trying to use a custom hardware to allow users to select certain 3D positions points in the VC in VR (Think Leap Motion controllers) and generate a mouse click event at that custom location. Currently, i am using the projection matrix to find the screen coordinates of said point and i am able to use get Picking request to draw a cursor similar to the default mouse cursor. I am currently having trouble trying to send mouse click events to the gauge at that particular position.
How can i send click events to a particular window?
Or is there anyway i can control the default mouse cursor position from within a add-on?
Thank you for your help