[Bf-blender-cvs] [bf0ae05d25e] master: Fix T82412: Space-mouse not registering (WIN32)

Campbell Barton noreply at git.blender.org
Tue Oct 25 04:39:30 CEST 2022


Commit: bf0ae05d25eab9e937b2b56ef5a931eb57e09d9d
Author: Campbell Barton
Date:   Thu Oct 13 11:28:10 2022 +1100
Branches: master
https://developer.blender.org/rBbf0ae05d25eab9e937b2b56ef5a931eb57e09d9d

Fix T82412: Space-mouse not registering (WIN32)

Using the 3DConnexion Universal Wireless Receiver on MS-Windows caused
a different ID to be reported. While I'm not sure of the cause of this,
adding the ID doesn't conflict with other devices and fixes the problem.

===================================================================

M	intern/ghost/intern/GHOST_NDOFManager.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_NDOFManager.cpp b/intern/ghost/intern/GHOST_NDOFManager.cpp
index 9e9b9f14c43..5484da82a18 100644
--- a/intern/ghost/intern/GHOST_NDOFManager.cpp
+++ b/intern/ghost/intern/GHOST_NDOFManager.cpp
@@ -302,6 +302,7 @@ bool GHOST_NDOFManager::setDevice(ushort vendor_id, ushort product_id)
       switch (product_id) {
         case 0xC62E: /* Plugged in. */
         case 0xC62F: /* Wireless. */
+        case 0xC658: /* Wireless (3DConnexion Universal Wireless Receiver in WIN32), see T82412. */
         {
           device_type_ = NDOF_SpaceMouseWireless;
           hid_map_button_num_ = 2;



More information about the Bf-blender-cvs mailing list