read_prefix was hardcoded to b'\\x00\\x00' (direction=0, slot=0), so every panel refresh re-read slot 0's bands regardless of which slot the device considered active — the panel would silently show the wrong EQ if the user had switched away from slot 0 (via G HUB on another host, an onboard button, etc.). Replace the static prefix with a custom rw_class that calls getActiveEQ before each read and feeds the resulting slot into the read_prefix. Direction stays hardcoded to 0 (playback); mic-side EQ isn't exposed yet. |
||
|---|---|---|
| .. | ||
| hid_parser | ||
| hidapi | ||
| keysyms | ||
| logitech_receiver | ||
| solaar | ||