When the V1 plugin API is enabled, we need to override `onSetup`, to not call `setup()` twice: once via the v2 default `onSetup`, and once via the legacy API. Take special attention to call `LEDControl.mode_add`, so that the effect does register as a LED mode. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/365/head
parent
30bbd49058
commit
f2bca33a7c
Loading…
Reference in new issue