Lines Matching defs:pHidDeviceRef
1431 static uint32_t darwinQueryIntProperty(IOHIDDeviceRef pHidDeviceRef, CFStringRef pProperty)
1436 AssertReturn(pHidDeviceRef, 0);
1439 pNumberRef = IOHIDDeviceGetProperty(pHidDeviceRef, pProperty);
1453 static uint32_t darwinHidVendorId(IOHIDDeviceRef pHidDeviceRef)
1455 return darwinQueryIntProperty(pHidDeviceRef, CFSTR(kIOHIDVendorIDKey));
1459 static uint32_t darwinHidProductId(IOHIDDeviceRef pHidDeviceRef)
1461 return darwinQueryIntProperty(pHidDeviceRef, CFSTR(kIOHIDProductIDKey));
1465 static uint32_t darwinHidLocationId(IOHIDDeviceRef pHidDeviceRef)
1467 return darwinQueryIntProperty(pHidDeviceRef, CFSTR(kIOHIDLocationIDKey));
1474 static bool darwinHidDeviceSupported(IOHIDDeviceRef pHidDeviceRef)
1478 uint32_t vendorId = darwinHidVendorId(pHidDeviceRef);
1479 uint32_t productId = darwinHidProductId(pHidDeviceRef);