Skip to content

Commit

Permalink
device: genesis-thor-300-rgb (#33)
Browse files Browse the repository at this point in the history
Added [Genesis Thor 300
RGB](https://genesis-zone.com/product/thor-300-rgb-brown).

Thanks to @gashtaan for testing on this keyboard!
  • Loading branch information
carlossless authored Dec 23, 2023
1 parent efd0250 commit 0687437
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ sinowealth-kb-tool write \
| Xinmeng K916 | cfc8661da8c9d7e351b36c0a763426aa | SH68F90 ||||
| Hykker X Range 2017 (RE-K70-BYK800) | 13df4ce2933f9654ffef80d6a3c27199 | SH68F881 | BYK801 |||
| [Genesis Thor 300](https://genesis-zone.com/product/thor-300-outemu-blue) | e57490acebcaabfcff84a0ff013955d9 | SH68F881 | SH68F881W |||
| [Genesis Thor 300 RGB](https://genesis-zone.com/product/thor-300-rgb-brown) | 2d169670eae0d36eae8188562c1f66e8 | SH68F90 | SH68F90S |||

## Prerequisites

Expand Down
10 changes: 10 additions & 0 deletions src/part.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ pub const PART_GENESIS_THOR_300: Part = Part {
isp_index: 0,
};

pub const PART_GENESIS_THOR_300_RGB: Part = Part {
firmware_size: 61440, // 61440 until bootloader
bootloader_size: 4096,
page_size: 2048,
vendor_id: 0x258a,
product_id: 0x0090,
isp_index: 0,
};

pub const PART_ROYALKLUDGE_RK100: Part = Part {
firmware_size: 61440, // 61440 until bootloader
bootloader_size: 4096,
Expand All @@ -96,6 +105,7 @@ pub static PARTS: Map<&'static str, Part> = phf_map! {
"redragon-k614-anivia" => PART_REDRAGON_ANIVIA_K614,
"royalkludge-rk100" => PART_ROYALKLUDGE_RK100,
"genesis-thor-300" => PART_GENESIS_THOR_300,
"genesis-thor-300-rgb" => PART_GENESIS_THOR_300_RGB,
};

impl Part {
Expand Down

0 comments on commit 0687437

Please sign in to comment.