Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

V1.0.1 - Simple CUE profile API

Choose a tag to compare

@DarthAffe DarthAffe released this 07 Feb 09:57
· 118 commits to master since this release

This release only contains the addition of something like a CUE profile API.
That means you can load the colors set in a profile created in CUE (without effects and stuff - only the background colors so far) and apply them as a brush.

Example:

keyboard.Brush = CueProfiles.LoadProfileByID()[null];

will load the first mode of the default-profile as brush on the keyboard.

keyboard.Brush = CueProfiles.LoadProfileByID()["K95 RGB Default 2"];

will load the mode "K95 RGB Default 2" of the default-profile as brush on the keyboard.

keyboard.Brush = CueProfiles.LoadProfileByName("TestProfile")[null];

will load the first mode profile "TestProfile" as brush on the keyboard.

Note that you would need to black out the keyboard between profile-swaps since CUE.NETs default is transparent and not black like in CUE
OR work with a key group containing all keys and leave the background black - this should be always the prefered solution.