src/joystick/darwin/SDL_sysjoystick.c
changeset 12115 0d9277d27e2d
parent 12090 c3209fca27b2
child 12359 691c32a30fb9
equal deleted inserted replaced
12114:34cc14308155 12115:0d9277d27e2d
   449     if (refCF) {
   449     if (refCF) {
   450         CFNumberGetValue(refCF, kCFNumberSInt32Type, &version);
   450         CFNumberGetValue(refCF, kCFNumberSInt32Type, &version);
   451     }
   451     }
   452 
   452 
   453 #ifdef SDL_JOYSTICK_HIDAPI
   453 #ifdef SDL_JOYSTICK_HIDAPI
   454     if (HIDAPI_IsDevicePresent(vendor, product)) {
   454     if (HIDAPI_IsDevicePresent(vendor, product, version)) {
   455         /* The HIDAPI driver is taking care of this device */
   455         /* The HIDAPI driver is taking care of this device */
   456         return 0;
   456         return 0;
   457     }
   457     }
   458 #endif
   458 #endif
   459 
   459