File tree 5 files changed +0
-41
lines changed
5 files changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -236,12 +236,6 @@ export class StreamDeckBase extends EventEmitter<StreamDeckEvents> implements St
236
236
return this . #lcdStripDisplayService. fillLcd ( ...args )
237
237
}
238
238
239
- // public async fillEncoderLcd(
240
- // ...args: Parameters<StreamDeck['fillEncoderLcd']>
241
- // ): ReturnType<StreamDeck['fillEncoderLcd']> {
242
- // return this.device.fillEncoderLcd(...args)
243
- // }
244
-
245
239
public async fillLcdRegion (
246
240
...args : Parameters < StreamDeck [ 'fillLcdRegion' ] >
247
241
) : ReturnType < StreamDeck [ 'fillLcdRegion' ] > {
Original file line number Diff line number Diff line change @@ -114,19 +114,6 @@ class StreamDeckPlusLcdService implements LcdStripDisplayService {
114
114
} )
115
115
}
116
116
117
- // public async fillEncoderLcd(index: EncoderIndex, buffer: Uint8Array, sourceOptions: FillImageOptions): Promise<void> {
118
- // if (this.#encoderCount === 0) throw new Error(`There are no encoders`)
119
-
120
- // const size = this.LCD_ENCODER_SIZE
121
- // const x = index * size.width
122
-
123
- // return this.fillLcdRegion(x, 0, buffer, {
124
- // format: sourceOptions.format,
125
- // width: size.width,
126
- // height: size.height,
127
- // })
128
- // }
129
-
130
117
public async fillLcdRegion (
131
118
index : number ,
132
119
x : number ,
Original file line number Diff line number Diff line change @@ -92,12 +92,6 @@ export class StreamDeckProxy implements StreamDeck {
92
92
return this . device . fillLcd ( ...args )
93
93
}
94
94
95
- // public async fillEncoderLcd(
96
- // ...args: Parameters<StreamDeck['fillEncoderLcd']>
97
- // ): ReturnType<StreamDeck['fillEncoderLcd']> {
98
- // return this.device.fillEncoderLcd(...args)
99
- // }
100
-
101
95
public async fillLcdRegion (
102
96
...args : Parameters < StreamDeck [ 'fillLcdRegion' ] >
103
97
) : ReturnType < StreamDeck [ 'fillLcdRegion' ] > {
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ export interface LcdStripDisplayService {
13
13
sourceOptions : FillImageOptions ,
14
14
) : Promise < void >
15
15
16
- // /**
17
- // * Fills the lcd strip above an encoder
18
- // * @param {number } index The encoder to draw above
19
- // * @param {Buffer } imageBuffer The image to write
20
- // * @param {Object } sourceOptions Options to control the write
21
- // */
22
- // fillEncoderLcd(index: EncoderIndex, imageBuffer: Uint8Array, sourceOptions: FillImageOptions): Promise<void>
23
-
24
16
/**
25
17
* Fill a region of the lcd strip, ignoring the boundaries of the encoders
26
18
* @param {number } lcdIndex The id of the lcd strip to draw to
Original file line number Diff line number Diff line change @@ -115,14 +115,6 @@ export interface StreamDeck extends EventEmitter<StreamDeckEvents> {
115
115
sourceOptions : FillImageOptions ,
116
116
) : Promise < void >
117
117
118
- // /**
119
- // * Fills the lcd strip above an encoder
120
- // * @param {number } index The encoder to draw above
121
- // * @param {Buffer } imageBuffer The image to write
122
- // * @param {Object } sourceOptions Options to control the write
123
- // */
124
- // fillEncoderLcd(index: EncoderIndex, imageBuffer: Uint8Array, sourceOptions: FillImageOptions): Promise<void>
125
-
126
118
/**
127
119
* Fill a region of the lcd strip, ignoring the boundaries of the encoders
128
120
* @param {number } lcdIndex The id of the lcd strip to draw to
You can’t perform that action at this time.
0 commit comments