mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 21:43:36 -04:00
Mac: Disable unused get_location_id()
Disable get_location_id(). It's not used in active code since make_path() was removed.
This commit is contained in:
@@ -214,11 +214,6 @@ static unsigned short get_product_id(IOHIDDeviceRef device)
|
||||
return get_int_property(device, CFSTR(kIOHIDProductIDKey));
|
||||
}
|
||||
|
||||
static int32_t get_location_id(IOHIDDeviceRef device)
|
||||
{
|
||||
return get_int_property(device, CFSTR(kIOHIDLocationIDKey));
|
||||
}
|
||||
|
||||
static int32_t get_max_report_length(IOHIDDeviceRef device)
|
||||
{
|
||||
return get_int_property(device, CFSTR(kIOHIDMaxInputReportSizeKey));
|
||||
@@ -1047,6 +1042,11 @@ HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev)
|
||||
|
||||
|
||||
#if 0
|
||||
static int32_t get_location_id(IOHIDDeviceRef device)
|
||||
{
|
||||
return get_int_property(device, CFSTR(kIOHIDLocationIDKey));
|
||||
}
|
||||
|
||||
static int32_t get_usage(IOHIDDeviceRef device)
|
||||
{
|
||||
int32_t res;
|
||||
|
||||
Reference in New Issue
Block a user