Revision: 37625
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37625
Author:   merwin
Date:     2011-06-18 20:32:14 +0000 (Sat, 18 Jun 2011)
Log Message:
-----------
disabled debug logging now that a workaround is in place (Win32 ndof buttons)

Modified Paths:
--------------
    branches/merwin-spacenav/intern/ghost/intern/GHOST_SystemWin32.cpp

Modified: branches/merwin-spacenav/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- branches/merwin-spacenav/intern/ghost/intern/GHOST_SystemWin32.cpp  
2011-06-18 20:30:09 UTC (rev 37624)
+++ branches/merwin-spacenav/intern/ghost/intern/GHOST_SystemWin32.cpp  
2011-06-18 20:32:14 UTC (rev 37625)
@@ -833,7 +833,7 @@
                GetRawInputDeviceInfo(raw.header.hDevice, RIDI_DEVICEINFO, 
&info, &infoSize);
                if (info.dwType == RIM_TYPEHID)
                        {
-                       printf("hardware ID = %08X:%08X\n", 
info.hid.dwVendorId, info.hid.dwProductId);
+                       // printf("hardware ID = %04X:%04X\n", 
info.hid.dwVendorId, info.hid.dwProductId);
                        m_ndofManager->setDevice(info.hid.dwVendorId, 
info.hid.dwProductId);
                        }
                else puts("<!> not a HID device... mouse/kb perhaps?");
@@ -882,11 +882,13 @@
                        }
                case 3: // buttons
                        {
+                       #if 0
                        // I'm getting garbage bits -- examine whole report:
                        printf("ndof: HID report for buttons [");
                        for (int i = 0; i < raw.data.hid.dwSizeHid; ++i)
                                printf(" %02X", data[i]);
                        printf(" ]\n");
+                       #endif
 
                        int button_bits;
                        memcpy(&button_bits, data + 1, sizeof(button_bits));

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to