Skip to content

Commit a46200f

Browse files
committedJan 7, 2021
Support for cinema hd display 30" pre aug 2006 with clamping
Credit to pudiva: warvariuc@c48ff0a
1 parent 9c08c54 commit a46200f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎acdcontrol.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const int CINEMA_DISPLAY_20_NEW = 0x9219;
6060
const int CINEMA_DISPLAY_24 = 0x921e;
6161
const int CINEMA_DISPLAY_27 = 0x9226;
6262
const int CINEMA_DISPLAY_27_2013 = 0x9227;
63+
const int CINEMA_DISPLAY_30_PRE_AUG_2006 = 0x9221;
6364
const int CINEMA_DISPLAY_30 = 0x9232;
6465
const int LED_CINEMA_DISPLAY_24 = 0x9236;
6566

@@ -546,6 +547,8 @@ void init_device_database() {
546547
"Apple Cinema HD Display 27\"" ));
547548
supportedDevices.insert( DeviceId( APPLE, CINEMA_DISPLAY_27_2013,
548549
"Apple Cinema HD Display 27\"" ));
550+
supportedDevices.insert( DeviceId( APPLE, CINEMA_DISPLAY_30_PRE_AUG_2006,
551+
"Apple Cinema HD Display 30\"" ));
549552
supportedDevices.insert( DeviceId( APPLE, CINEMA_DISPLAY_30,
550553
"Apple Cinema HD Display 30\"" ));
551554

‎acdcontrol.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
(0x921e, 'Apple Cinema Display 24"', None),
2525
(0x9226, 'Apple Cinema HD Display 27"', None),
2626
(0x9227, 'Apple Cinema HD Display 27" 2013', None),
27+
(0x9221, 'Apple Cinema HD Display 30"', (0, 255)),
2728
(0x9232, 'Apple Cinema HD Display 30"', None),
2829
(0x9236, 'Apple LED Cinema Display 24"', (0, 255)),
2930
),

0 commit comments

Comments
 (0)
Please sign in to comment.