Console Application

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

Moderator: Moderators

Console Application

Postby pwmohr » Mon Feb 12, 2007 6:45 pm

I need to write a simple console application that reads the Space Navigator data without using any Windows. Is there a way I can register my own callback function or handler with the driver instead of specifying a window handle to receive the data?
pwmohr
 
Posts: 1
Joined: Mon Feb 12, 2007 6:42 pm

Postby ngomes » Tue Feb 13, 2007 2:58 am

Hi pwmohr,

Yes, you can. You will have to access the USB stack directly and bypass our driver. Look for the posts from the user RBC9 here in this Forum.
All 3Dconnexion USB devices are HID compliant, an open hardware standard.

A final note, remember that bypassing the driver may have consequences to other applications. You should only process data from the device if your application is "in focus". If you are developing a pure console app (no windows at all), then that won't be an issue.

Nuno
ngomes
Moderator
Moderator
 
Posts: 1654
Joined: Mon Nov 27, 2006 7:22 am
Location: EU

Postby jwick » Mon May 21, 2007 7:32 am

Hello pwmohr,

There is now a HID example referenced in this topic.

Jim
3Dx Software Development
jwick
Moderator
Moderator
 
Posts: 1769
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA


Return to Developer's Forum for Windows

Who is online

Users browsing this forum: No registered users and 0 guests