ndof device detection now visible in log
authorMike Erwin <significant.bit@gmail.com>
Fri, 1 Jul 2011 03:54:23 +0000 (03:54 +0000)
committerMike Erwin <significant.bit@gmail.com>
Fri, 1 Jul 2011 03:54:23 +0000 (03:54 +0000)
intern/ghost/intern/GHOST_NDOFManager.cpp

index a15f480d647c34d0e8ee5dcde0b43d236d36389e..54192c0d669edd6c4627270a8e8c9fe7259fc4f9 100644 (file)
@@ -157,18 +157,22 @@ void GHOST_NDOFManager::setDevice(unsigned short vendor_id, unsigned short produ
                                {
                                // -- current devices --
                                case 0xC626:
+                                       puts("ndof: using SpaceNavigator");
                                        m_deviceType = NDOF_SpaceNavigator;
                                        m_buttonCount = 2;
                                        break;
                                case 0xC628:
+                                       puts("ndof: using SpaceNavigator for Notebooks");
                                        m_deviceType = NDOF_SpaceNavigator; // for Notebooks
                                        m_buttonCount = 2;
                                        break;
                                case 0xC627:
+                                       puts("ndof: using SpaceExplorer");
                                        m_deviceType = NDOF_SpaceExplorer;
                                        m_buttonCount = 15;
                                        break;
                                case 0xC629:
+                                       puts("ndof: using SpacePilotPro");
                                        m_deviceType = NDOF_SpacePilotPro;
                                        m_buttonCount = 31;
                                        break;