Console Application
Moderator: Moderators
Console Application
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?
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
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