LED-Wavepool: Restrict the plugin to the Model01

Due to the plugin needing a key coordinate -> geometric space mapping, it
depends on the keyboard used. As such, restrict it to the Keyboard.io Model01,
for which the mapping was set up.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/510/head
Gergely Nagy 6 years ago
parent cae7048f6a
commit bc2aa0a56b
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef ARDUINO_AVR_MODEL01
#include <Kaleidoscope-LED-Wavepool.h> #include <Kaleidoscope-LED-Wavepool.h>
namespace kaleidoscope { namespace kaleidoscope {
@ -219,3 +221,5 @@ void WavepoolEffect::update(void) {
} }
kaleidoscope::plugin::WavepoolEffect WavepoolEffect; kaleidoscope::plugin::WavepoolEffect WavepoolEffect;
#endif

@ -18,6 +18,8 @@
#pragma once #pragma once
#ifdef ARDUINO_AVR_MODEL01
#include <Kaleidoscope.h> #include <Kaleidoscope.h>
#include <Kaleidoscope-LEDControl.h> #include <Kaleidoscope-LEDControl.h>
@ -54,3 +56,5 @@ class WavepoolEffect : public LEDMode {
} }
extern kaleidoscope::plugin::WavepoolEffect WavepoolEffect; extern kaleidoscope::plugin::WavepoolEffect WavepoolEffect;
#endif

Loading…
Cancel
Save