Crate msi_klc

Source

Structs§

Keyboard
A keyboard object (wrapper around a HidDevice).
KeyboardLightData
Regular keyboard light data. Contains the region, predefined color, and brightness.
KeyboardModeData
Keyboard mode data (only contains mode).
KeyboardRGBLightData
RGB keyboard light data. Contains the region and RGB values.

Enums§

Brightness
Saturation/brightness of the lights on the keyboard. Not needed when using RGB colors.
Color
8 predefined colors (and Off).
Mode
Keyboard mode (Normal or Gaming). Wave and Breathe are not implemented since you can do the same thing with set_rgb_color and a loop.
Region
The 3 regions of LEDs on the keyboard.