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.
This commit is contained in:
Campbell Barton 2022-10-13 11:28:10 +11:00
parent c1768507a9
commit bf0ae05d25
Notes: blender-bot 2023-02-14 06:17:17 +01:00
Referenced by issue #82412, 3Dconnexion Spacemouse buttons not registering - ndof: unknown 3Dconnexion product c658
1 changed files with 1 additions and 0 deletions

View File

@ -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;