From e483311307126322744851144ca785dbd373b11d Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Fri, 22 Mar 2024 20:43:55 +0100 Subject: [PATCH] device: redragon-k641-shaco-pro (#51) https://github.com/carlossless/sinowealth-kb-tool/issues/50 --- README.md | 1 + src/part.rs | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index e36d426..d6ed09f 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ sinowealth-kb-tool write \ | [NuPhy Halo65](https://nuphy.com/products/halo65) | 3e0ebd0c440af5236d7ff8872343f85d | SH68F90A | BYK916 | ✅ | ❓ | | [Redragon K614 Anivia 60%](https://www.redragonzone.com/products/redragon-k614-anivia-60-ultra-thin-wired-mechanical-keyboard) | 2d169670eae0d36eae8188562c1f66e8 | SH68F90A | BYK916 | ✅ | ✅ | | [Redragon K617 FIZZ 60%](https://www.redragonzone.com/collections/keyboard/products/redragon-k617-fizz-60-wired-rgb-gaming-keyboard-61-keys-compact-mechanical-keyboard) | 2d169670eae0d36eae8188562c1f66e8 | SH68F90A | BYK916 | ✅ | ❓ | +| [Redragon K641 SHACO PRO](https://www.redragonzone.com/products/redragon-k641-shaco-pro-65-aluminum-rgb-mechanical-keyboard) | 3e0ebd0c440af5236d7ff8872343f85d | SH68F90A | BYK916 | ✅ | ✅ | | [Royal Kludge RK100](http://en.rkgaming.com/product/14/) | cfc8661da8c9d7e351b36c0a763426aa | SH68F90? | BYK916 | ✅ | ❓ | | [Royal Kludge RK61](http://en.rkgaming.com/product/11/) | 3e0ebd0c440af5236d7ff8872343f85d | SH68F90? | BYK916 | ✅ | ✅ | | Royal Kludge RK68 BT Dual | cfc8661da8c9d7e351b36c0a763426aa | SH68F90? | BYK901 | ✅ | ✅ | diff --git a/src/part.rs b/src/part.rs index 2074bc3..f1c8e92 100644 --- a/src/part.rs +++ b/src/part.rs @@ -95,6 +95,13 @@ pub const PART_REDRAGON_ANIVIA_K614: Part = Part { ..PART_BASE_SH68F90 }; +pub const PART_REDRAGON_K641_SHACO_PRO: Part = Part { + vendor_id: 0x258a, + product_id: 0x0049, + isp_index: 1, + ..PART_BASE_SH68F90 +}; + pub const PART_GENESIS_THOR_300: Part = Part { vendor_id: 0x258a, product_id: 0x001f, @@ -167,6 +174,7 @@ pub static PARTS: Map<&'static str, Part> = phf_map! { "re-k70-byk800" => PART_RE_K70_BYK800, "redragon-k614-anivia" => PART_REDRAGON_ANIVIA_K614, "redragon-k617-fizz" => PART_REDRAGON_FIZZ_K617, + "redragon-k641-shaco-pro" => PART_REDRAGON_K641_SHACO_PRO, "royalkludge-rk100" => PART_ROYALKLUDGE_RK100, "royalkludge-rk84-iso-return" => PART_ROYALKLUDGE_RK84_ISO_RETURN, "royalkludge-rk61" => PART_ROYALKLUDGE_RK61,