Cursor controlled by Space Navigator

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
rodrigo.seabra
Posts: 44
Joined: Fri Apr 04, 2008 7:03 am

Cursor controlled by Space Navigator

Post by rodrigo.seabra »

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
Moderator
Posts: 3341
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

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 »

Right.
This function can be found in which library? Is there an example you know?

Thanks.
jwick
Moderator
Moderator
Posts: 3341
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

You should be able to google it.
The function is in user32.dll.
The declaration is in winuser.h.
Post Reply