Skip to content

TypeScript library for individually controlling LEDs on a Keychron K10 Pro keyboard with a modified firmware.

License

Notifications You must be signed in to change notification settings

igricrbx/keychron-rgb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeychronRGB

KeychronRGB

A simple TypeScript library which allows you to control the RGB lighting on the Keychron K10 Pro keyboard.

Requirements

Before you can use this library, you need to install its dependencies. This can be done by running the following command:

npm install

Additionally, a custom firmware has to be flashed onto the keyboard's microcontroller which allows LEDs to be adressed individually. The up-to-date list of compatible firmwares can be found on SRGBmods' repository and the flashing instructions are provided by Keychron.

Usage

To use this library, import the Keychron class from the src/keychron.ts file in your TypeScript code:

import * as Keychron from '../src/keychron';

Then, you can create a new Keychron.Keychron object and use its methods to control the RGB lighting on your keyboard.

Examples

This library includes several examples that demonstrate how to use the library. You can run these examples with the following command:

npm run example-[example_name]

Replace [example_name] with the name of the example you want to run. The available examples are:

Sphares

8mb.video-lhy-foFCLcdO.mp4

Snake (Can your gaming keyboard do THAT?)

8mb.video-gln-KSgSRmEf.mp4

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

TypeScript library for individually controlling LEDs on a Keychron K10 Pro keyboard with a modified firmware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published