Post questions, comments and feedback to our 3Dconnexion Windows Development Team.
Moderator: Moderators
rodrigo.seabra
Posts: 44 Joined: Fri Apr 04, 2008 7:03 am
Post
by rodrigo.seabra » Fri Apr 04, 2008 8:41 am
Hi,
In my application I need the cursor of mouse is controlled by the coordinates sent by Space Navigator, instead of the conventional mouse.
Does anyone have any idea of how can I do that?
Thanks.
jwick
Moderator
Posts: 3341 Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:
Post
by jwick » Fri Apr 04, 2008 9:11 am
There is a Win32 API function called SendInput that may work.
rodrigo.seabra
Posts: 44 Joined: Fri Apr 04, 2008 7:03 am
Post
by rodrigo.seabra » Fri Apr 04, 2008 9:16 am
Right.
This function can be found in which library? Is there an example you know?
Thanks.
jwick
Moderator
Posts: 3341 Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:
Post
by jwick » Fri Apr 04, 2008 9:39 am
You should be able to google it.
The function is in user32.dll.
The declaration is in winuser.h.