Skip to content

Commit 60a43cd

Browse files
committed
feat(temp): enable Stream Deck Modules support
1 parent 799af63 commit 60a43cd

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src-tauri/Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ serde_json = "1.0"
2020
tokio = { version = "1.45", features = ["full"] }
2121
tokio-tungstenite = "0.26"
2222
tiny_http = "0.12"
23-
elgato-streamdeck = { version = "0.11", default-features = false, features = ["async"] }
23+
elgato-streamdeck = { git = "https://github.com/OpenActionAPI/rust-elgato-streamdeck.git", default-features = false, features = ["async"] }
2424
image = { version = "0.25", default-features = false, features = ["bmp", "jpeg"] }
2525
# Smaller utility libraries
2626
once_cell = "1.21"

src-tauri/src/elgato.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ async fn init(device: AsyncStreamDeck, device_id: String) {
7575

7676
let kind = device.kind();
7777
let device_type = match kind {
78-
Kind::Original | Kind::OriginalV2 | Kind::Mk2 | Kind::Mk2Scissor => 0,
79-
Kind::Mini | Kind::MiniMk2 => 1,
80-
Kind::Xl | Kind::XlV2 => 2,
78+
Kind::Original | Kind::OriginalV2 | Kind::Mk2 | Kind::Mk2Scissor | Kind::Mk2Module => 0,
79+
Kind::Mini | Kind::MiniMk2 | Kind::MiniMk2Module => 1,
80+
Kind::Xl | Kind::XlV2 | Kind::XlV2Module => 2,
8181
Kind::Pedal => 5,
8282
Kind::Plus => 7,
8383
Kind::Neo => 9,

0 commit comments

Comments
 (0)