# msi-klc
A tool that allows you to control the backlight of your MSI SteelSeries laptop keyboard.\
Supports 3 regions, 8 predefined colors, RGB/hex colors, and custom animations.
### Tested Devices
#### Linux
- [x] MSI GE60 2PE
## Installation
### Compiling
- Requirements
- Rust (cargo)
- hidapi
```sh
git clone https://github.com/ErrorNoInternet/msi-klc
cd msi-klc
cargo build --release
sudo cp target/release/msi-klc /usr/local/bin
```
## Usage
Make sure to run with root privileges (sudo)
```sh
# make the entire keyboard blue
msi-klc set --color blue
# make the left side of the keyboard red
msi-klc set --color red --region left
# turn off all the LEDs on the keyboard
msi-klc off
# ...and turn them back on
msi-klc reset
# make the keyboard cyan
msi-klc set --color "#0fffaf" --mode rgb
# make only the left side cyan
msi-klc off && msi-klc set --color "#0fffaf" --mode rgb --region left
# load an animation
msi-klc load animations/breathe.txt
```
<sub>If you would like to modify or use this repository (including its code) in your own project, please be sure to credit!</sub>