泰凌微usb 修改
authorliangzhenying <867174124@qq.com>
Thu, 29 Aug 2024 01:51:14 +0000 (09:51 +0800)
committerliangzhenying <867174124@qq.com>
Thu, 29 Aug 2024 01:51:14 +0000 (09:51 +0800)
MouseSdk/MouseSdk.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate
MouseSdk/MouseSdk/Ble/HidManager.m

index b2b3338..05f64fb 100644 (file)
Binary files a/MouseSdk/MouseSdk.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate and b/MouseSdk/MouseSdk.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate differ
index a65c233..5cd6de2 100644 (file)
@@ -48,7 +48,7 @@ static void hidAppearDevice(void *inContext,IOReturn inResult,void *inSender,IOH
     [[HidManager shared] showLog:([NSString stringWithFormat:@"发现设备 %@",inIOHIDDeviceRef])];
     [[HidManager shared] showLog:([NSString stringWithFormat:@"pid = %d,vid = %d",pid,vid])];
 //    return;
-    if(vid == 0x10D6 && pid == 0x8601){
+    if(vid == 0x10D6 && pid == 0xB008){
         [HidManager shared].productType = AiMouseProductType_tlw;
         [HidManager shared].deviceInfoCha = inIOHIDDeviceRef;
         //注册消息回调