|
1 |
| -## CLEVO Keyboard Colour Program (C++) |
| 1 | +# CLEVO Keyboard Colour Program (C++) |
2 | 2 |
|
3 |
| -***C++ version of the "keyboard-colour-program"*** |
| 3 | +**A C++ version of the original "keyboard-colour-program" developed in C#.** |
4 | 4 |
|
5 |
| -A much cleaner and simpler version of the initial program that I created in C# |
| 5 | +This is a cleaner, more organized, and efficient version of the initial program. It is designed to provide enhanced features for customizing CLEVO keyboards with **RGB** lighting, supporting both **3-zone** and **1-zone** keyboards. The program also includes a variety of animated effects to enhance your keyboard’s visual experience. |
6 | 6 |
|
7 |
| -I will be adding more functionality later on, but for now... HERE IT IS! |
| 7 | +--- |
8 | 8 |
|
9 |
| -Feature List: |
10 |
| -Supports 3 zone RGB lighting CLEVO laptop keyboards. |
11 |
| -Added support for Animation objects. |
| 9 | +## 🎨 Current Features |
12 | 10 |
|
13 |
| -Make sure you run this program **AS ADMINISTRATOR** because, WMI will fail if it cannot get administrator privileges... |
| 11 | +- **Support for CLEVO keyboards:** |
| 12 | + - **RGB 3-zone keyboards**. |
| 13 | + - **RGB 1-zone keyboards**. |
| 14 | +- **Predefined Animated Effects:** |
| 15 | + - 🌈 **Fading Colors:** Smooth color transitions (predefined themes). |
| 16 | + - 🎥 **Optimized Animations:** Enhanced visual effects using animation objects. |
14 | 17 |
|
15 |
| -**This currently has already got a pre-made theme that fades colours, I will be working to optimise it later (CAUTION: It take 15% - 20% CPU utilisation at some points)** |
| 18 | +⚠️ **Important Note:** Ensure you run this program **as an administrator**, as Windows Management Instrumentation (WMI) requires administrative privileges to function properly. |
| 19 | + |
| 20 | +⚠️ **Warning:** The predefined fading theme may utilize **15% to 20% of CPU** at certain times. This will be optimized in future updates. |
| 21 | + |
| 22 | +⚠️ **Warning (2):** Ensure that the **InsydeDHCU.dll** file is in the same directory as `KBInsydeColours.exe` if you're using a **Single-Zone** keyboard. |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## 🔧 Functional Commands |
| 27 | + |
| 28 | +The following commands are supported and can be executed via the **Command Prompt**. |
| 29 | + |
| 30 | +### 🖥️ General Syntax: |
| 31 | +Navigate to the folder containing the executable files (e.g., `CppKeyboardColour/Test/Build/`) and run the commands in **administrator mode**. To execute the `.exe` files, prepend the `.\` before the command. |
| 32 | + |
| 33 | +```bash |
| 34 | +.\KBInsydeColours.exe theme [themeName] |
| 35 | +``` |
| 36 | + |
| 37 | +### 🎨 Supported Themes: |
| 38 | +- **Breathing Effect:** |
| 39 | + ```bash |
| 40 | + .\KBInsydeColours.exe theme breathe |
| 41 | + ``` |
| 42 | + 🌬️ Enables a breathing effect (smooth pulsing transitions between colors). |
| 43 | + |
| 44 | +- **Colourshift:** |
| 45 | + ```bash |
| 46 | + .\KBInsydeColours.exe theme colourshift |
| 47 | + ``` |
| 48 | + 🔄 Alternates colors for **RGB** keyboards (designed for 3-zone keyboards, but compatible with 1-zone as well). |
| 49 | + |
| 50 | +- **New Colour Breathe:** |
| 51 | + ```bash |
| 52 | + .\KBInsydeColours.exe theme newcolourbreathe |
| 53 | + ``` |
| 54 | + 🌀 A custom theme designed for **@mehrshad315**, featuring an additional blue tone. |
| 55 | + |
| 56 | +- **Colour Transform (Rainbow Sweep):** |
| 57 | + ```bash |
| 58 | + .\KBInsydeColours.exe theme colourtransform |
| 59 | + ``` |
| 60 | + 🌈 Creates a rainbow sweep effect with smooth transitions. |
| 61 | + |
| 62 | +- **Blink (Pulsating Blink):** |
| 63 | + ```bash |
| 64 | + .\KBInsydeColours.exe theme blink |
| 65 | + ``` |
| 66 | + ✨ Makes the keyboard lights blink in a pulsating pattern. |
| 67 | + |
| 68 | +--- |
| 69 | + |
| 70 | +## 🛠️ How to Use |
| 71 | + |
| 72 | +1. Navigate to the folder containing the executable files: |
| 73 | + ``` |
| 74 | + CppKeyboardColour/Test/Build/ |
| 75 | + ``` |
| 76 | + |
| 77 | +2. Open a **Command Prompt** in Administrator mode: |
| 78 | + - Search for "Command Prompt" in the Windows search bar. |
| 79 | + - Right-click and select **Run as Administrator**. |
| 80 | + |
| 81 | +3. **Again, be sure that the **InsydeDHCU.dll** file is in the same directory as `KBInsydeColours.exe` if you're using a **Single-Zone** keyboard**. |
| 82 | + |
| 83 | +4. Run the desired command using the syntax: |
| 84 | + ``` |
| 85 | + .\KBInsydeColours.exe theme [themeName] |
| 86 | + ``` |
| 87 | + |
| 88 | +Example: |
| 89 | +To activate the breathing effect, run: |
| 90 | +```bash |
| 91 | +.\KBInsydeColours.exe theme breathe |
| 92 | +``` |
| 93 | + |
| 94 | +--- |
| 95 | + |
| 96 | +## 📋 Requirements |
| 97 | + |
| 98 | +- **Compatible CLEVO keyboards:** |
| 99 | + - **RGB 1-zone** or **3-zone** lighting. |
| 100 | + - For **1-zone keyboards**, the **InsydeDHCU.dll** file must be in the same directory as `KBInsydeColours.exe`. |
| 101 | +- **Administrator Permissions:** Ensure the program is run as administrator to avoid WMI failures. |
| 102 | + |
| 103 | +--- |
| 104 | + |
| 105 | +## 📌 Final Notes |
| 106 | + |
| 107 | +- This is an initial version of the program, and more features (including better optimization for 1-zone keyboards) will be added in future updates. |
| 108 | +- Feedback, suggestions, and contributions are highly appreciated to help improve the project. |
| 109 | + |
| 110 | +--- |
0 commit comments