Lighting as a macropad subcommand; knobless pads start in the flat view

Running the backend module directly made runpy warn, since the package
had already imported it. The lighting commands now sit with doctor, state
and write. A pad without knobs lies flat on the desk, so it is drawn flat
unless an orientation has been chosen.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 19:26:46 +02:00
parent 80c6a5da1c
commit 021f9f7fa1
4 changed files with 58 additions and 64 deletions

View File

@@ -448,7 +448,7 @@ What the hardware can and can't do:
| Key sequences | Yes, up to 10 keys with **one** set of modifiers for the whole sequence, no delays |
| Mouse actions | The pad can, the app doesn't offer them yet |
| Layers | None |
| Lighting | 15 modes and a custom colour, from the command line: `python3 -m macropad_gui.backends.itprotech rgb "press: blue"` |
| Lighting | 15 modes and a custom colour, from the command line: `macropad lighting rgb "press: blue"`, `macropad lighting colour ff8800`, `macropad lighting show` |
Other sizes under vendor `8808` are found and offered **Ask the pad what it is**, which reads only. If the pad answers like an MK-09 does, the app adopts it. If you have one, a report from that button is all it takes to add it to the confirmed list.