MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / write_lcd

Method write_lcd

src/asynchronous.rs:128–131  ·  view source on GitHub ↗

Writes image data to Stream Deck device's lcd strip/screen as region. Only Stream Deck Plus supports writing LCD regions, for Stream Deck Neo use write_lcd_fill

(&self, x: u16, y: u16, rect: &ImageRect)

Source from the content-addressed store, hash-verified

126 /// Writes image data to Stream Deck device's lcd strip/screen as region.
127 /// Only Stream Deck Plus supports writing LCD regions, for Stream Deck Neo use write_lcd_fill
128 pub async fn write_lcd(&self, x: u16, y: u16, rect: &ImageRect) -> Result<(), StreamDeckError> {
129 let device = self.device.lock().await;
130 block_in_place(move || device.write_lcd(x, y, rect))
131 }
132
133 /// Writes image data to Stream Deck device's lcd strip/screen as full fill
134 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected