Fixed slow enumeration when Apple Cinema HD display 30" is plugged in
authorSam Lantinga <slouken@libsdl.org>
Fri, 13 Mar 2020 19:19:29 -0700
changeset 1362377d56667ebe0
parent 13622 1daea6276f1b
child 13624 8fb0748c2cce
Fixed slow enumeration when Apple Cinema HD display 30" is plugged in
src/hidapi/windows/hid.c
     1.1 --- a/src/hidapi/windows/hid.c	Wed Mar 11 14:17:19 2020 -0400
     1.2 +++ b/src/hidapi/windows/hid.c	Fri Mar 13 19:19:29 2020 -0700
     1.3 @@ -325,6 +325,12 @@
     1.4  		return 1;
     1.5  	}
     1.6  
     1.7 +	// Apple Cinema HD display 30" - takes a long time to return the product string
     1.8 +	if ( vendor_id == 0x05AC && product_id == 0x9220 )
     1.9 +	{
    1.10 +		return 1;
    1.11 +	}
    1.12 +
    1.13  	return 0;
    1.14  }
    1.15