{"id":23680109,"url":"https://github.com/errornointernet/msi-klc","last_synced_at":"2025-08-31T10:37:01.588Z","repository":{"id":60134847,"uuid":"541048973","full_name":"ErrorNoInternet/msi-klc","owner":"ErrorNoInternet","description":"MSI SteelSeries Keyboard Light Controller","archived":false,"fork":false,"pushed_at":"2023-09-06T09:13:18.000Z","size":145,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-30T09:20:20.410Z","etag":null,"topics":["backlight","keyboard","laptop","msi","rgb","steelseries"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ErrorNoInternet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-25T04:24:08.000Z","updated_at":"2024-04-03T08:30:50.000Z","dependencies_parsed_at":"2022-09-25T17:51:06.553Z","dependency_job_id":null,"html_url":"https://github.com/ErrorNoInternet/msi-klc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fmsi-klc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fmsi-klc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fmsi-klc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErrorNoInternet%2Fmsi-klc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErrorNoInternet","download_url":"https://codeload.github.com/ErrorNoInternet/msi-klc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231768601,"owners_count":18423791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backlight","keyboard","laptop","msi","rgb","steelseries"],"created_at":"2024-12-29T17:57:56.082Z","updated_at":"2024-12-29T17:57:57.017Z","avatar_url":"https://github.com/ErrorNoInternet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msi-klc\n[![crates.io](https://img.shields.io/crates/v/msi-klc.svg)](https://crates.io/crates/msi-klc)\n[![docs.rs](https://img.shields.io/docsrs/msi-klc/latest)](https://docs.rs/msi-klc/latest/msi_klc)\n\nA tool/library that allows you to control the backlight of your MSI SteelSeries laptop keyboard.\\\nSupports 3 regions, 8 predefined colors, RGB colors, and custom animations (CLI only).\n\n### Tested Devices\n\n#### Linux\n- [x] MSI GE60 2PE\n\n## Installation\n\n### Compiling\n- Requirements\n    - Rust (cargo)\n    - hidapi\n\nNote: This project uses the libusb backend of hidapi as there are issues when using hidraw.\n\n#### Manual compilation\n```sh\ngit clone https://github.com/ErrorNoInternet/msi-klc\ncd msi-klc\ncargo build --release\nsudo cp target/release/msi-klc /usr/local/bin\n```\n\n#### Using cargo\n```sh\ncargo install msi-klc\n```\n\n## Usage\nMake sure to run with root privileges (sudo) if you don't have the appropriate udev rules.\n\n### CLI\n```sh\n# make the entire keyboard blue\nmsi-klc set --color blue\n\n# make the left side of the keyboard red\nmsi-klc set --color red --region left\n\n# turn off all the LEDs on the keyboard\nmsi-klc off\n\n# ...and turn them back on\nmsi-klc reset\n\n# make the keyboard cyan\nmsi-klc set --color \"#0fffaf\" --mode rgb\n\n# make only the left side cyan\nmsi-klc off \u0026\u0026 msi-klc set --color \"#0fffaf\" --mode rgb --region left\n\n# load an animation\nmsi-klc load animations/breathe.txt\n```\n\n### Library\n```rust\nuse msi_klc::*;\n\nfn main() {\n    let mut keyboard = Keyboard::new().unwrap();\n    \n    // make the keyboard blue\n    keyboard\n        .set_color(\u0026KeyboardLightData::new(\n            \u0026Region::All,\n            \u0026Color::Blue,\n            \u0026Brightness::Medium,\n        ))\n        .unwrap();\n    keyboard\n        .set_mode(\u0026KeyboardModeData::new(\u0026Mode::Normal))\n        .unwrap();\n\n    // set a custom RGB color on the right side of the keyboard\n    keyboard\n        .set_rgb_color(\u0026KeyboardRGBLightData::new(\n            \u0026Region::Right,\n            \u0026(255, 80, 80),\n        ))\n        .unwrap();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrornointernet%2Fmsi-klc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferrornointernet%2Fmsi-klc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferrornointernet%2Fmsi-klc/lists"}