66export const enum VcpValueType {
77 Continuous = 0 ,
88 NonContinuous = 1 ,
9- Table = 2
9+ Table = 2 ,
1010}
1111export interface Continuous {
1212 currentValue : number
@@ -28,7 +28,7 @@ export const enum JsQueryType {
2828 Id = 1 ,
2929 ManufacturerId = 2 ,
3030 ModelName = 3 ,
31- SerialNumber = 4
31+ SerialNumber = 4 ,
3232}
3333export interface Query {
3434 queryType : JsQueryType
@@ -52,7 +52,11 @@ export class Display {
5252 capabilities ?: string
5353 constructor ( index : number )
5454 getVcpFeature ( featureCode : number ) : Promise < Continuous | NonContinuous | Table >
55- setVcpFeature ( featureCode : number , valueOrOffset : number , bytes ?: Array < number > | undefined | null ) : Promise < undefined >
55+ setVcpFeature (
56+ featureCode : number ,
57+ valueOrOffset : number ,
58+ bytes ?: Array < number > | undefined | null ,
59+ ) : Promise < undefined >
5660}
5761export type JsDisplayManager = DisplayManager
5862export class DisplayManager {
@@ -72,7 +76,7 @@ export namespace VCPFeatureCode {
7276 RestoreFactoryGeometryDefaults = 6 ,
7377 RestoreFactoryLuminanceContrastDefaults = 5 ,
7478 RestoreFactoryTvDefaults = 10 ,
75- SaveRestoreSettings = 176
79+ SaveRestoreSettings = 176 ,
7680 }
7781 export const enum ImageAdjustment {
7882 SixAxisHueControlBlue = 159 ,
@@ -133,7 +137,7 @@ export namespace VCPFeatureCode {
133137 WindowControlOnOff = 164 ,
134138 WindowSelect = 165 ,
135139 WindowSize = 166 ,
136- WindowTransparency = 167
140+ WindowTransparency = 167 ,
137141 }
138142 export const enum DisplayControl {
139143 DisplayControllerId = 200 ,
@@ -147,7 +151,7 @@ export namespace VCPFeatureCode {
147151 SourceColorCoding = 181 ,
148152 SourceTimingMode = 180 ,
149153 Version = 223 ,
150- VerticalFrequency = 174
154+ VerticalFrequency = 174 ,
151155 }
152156 export const enum Geometry {
153157 BottomCornerFlare = 74 ,
@@ -182,7 +186,7 @@ export namespace VCPFeatureCode {
182186 WindowPositionBrX = 151 ,
183187 WindowPositionBrY = 152 ,
184188 WindowPositionTlX = 149 ,
185- WindowPositionTlY = 150
189+ WindowPositionTlY = 150 ,
186190 }
187191 export const enum Miscellaneous {
188192 ActiveControl = 82 ,
@@ -207,7 +211,7 @@ export namespace VCPFeatureCode {
207211 SoftControls = 3 ,
208212 StatusIndicators = 205 ,
209213 TransmitDisplayDescriptor = 195 ,
210- TvChannelUpDown = 139
214+ TvChannelUpDown = 139 ,
211215 }
212216 export const enum Audio {
213217 BalanceLR = 147 ,
@@ -218,7 +222,7 @@ export namespace VCPFeatureCode {
218222 ProcessorMode = 148 ,
219223 SpeakerSelect = 99 ,
220224 SpeakerVolume = 98 ,
221- Treble = 143
225+ Treble = 143 ,
222226 }
223227 export const enum Dpvl {
224228 BodyCrcErrorCount = 188 ,
@@ -228,6 +232,6 @@ export namespace VCPFeatureCode {
228232 MonitorStatus = 183 ,
229233 MonitorXOrigin = 185 ,
230234 MonitorYOrigin = 186 ,
231- PacketCount = 184
235+ PacketCount = 184 ,
232236 }
233237}
0 commit comments