I'm using C++ with Visual Studio 2008. The app I'm working on was originally developed under Linux using Qt and there is also a Mac version both with SpaceNavigator support.
I'm now trying to include the SpaceNavigator under Windows with help of the file "Programming for the 3D Mouse.pdf" from the 3Dconnexion website. There I have code for registering the 3D Mouse for RawInput in section 9.1.1.
The following section 9.1.2 explains how to receive and process the input. My problem is, where to put this code?
I created a method
Code: Select all
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
...
}
Thanks a lot for help
Mathias