Quellcode durchsuchen

Document solid RGB lighting workflow

Paul Klumpp vor 2 Wochen
Ursprung
Commit
bf806c8afd
1 geänderte Dateien mit 19 neuen und 0 gelöschten Zeilen
  1. 19 0
      AGENTS.md

+ 19 - 0
AGENTS.md

@@ -27,6 +27,25 @@ wobkey rgb disable                # Disable RGB lighting
 wobkey rgb info                   # Show current RGB state
 ```
 
+### Set the Keyboard to Solid Red
+
+Treat a request such as "set the keyboard to red" as two ordered CLI operations, not one. From the repository root, run:
+
+```sh
+go run ./cmd/wobkey rgb effect solid && \
+  go run ./cmd/wobkey rgb color ff0000
+```
+
+Agent rules:
+
+- Always set `effect solid` before setting the color.
+- Pass colors as exactly six hexadecimal digits without `#`; red is `ff0000`.
+- Run the color command only after the effect command succeeds, as ensured by `&&`.
+- Do not add `rgb enable`; the Impact 80 uses no separate enable handshake.
+- For another fixed color, keep the same order and replace `ff0000` with the desired RGB value.
+
+These commands apply the color to the Impact 80's backlight, logo, and side-light channels.
+
 ## VIA Protocol Essentials
 
 - Transport: QMK Raw HID over a 32-byte hidraw report, report number `0`