Use Kaleidoscope.use instead of USE_PLUGINS

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent feda651170
commit 98b389411b

@ -42,7 +42,7 @@ We can then update the keymap via [Focus][plugin:focus].
void setup() {
Serial.begin(9600);
USE_PLUGINS(&EEPROMKeymap, &Focus);
Kaleidoscope.use(&EEPROMKeymap, &Focus);
Kaleidoscope.setup();

@ -42,7 +42,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
void setup() {
Serial.begin(9600);
USE_PLUGINS(&EEPROMKeymap, &Focus);
Kaleidoscope.use(&EEPROMKeymap, &Focus);
Kaleidoscope.setup();

@ -28,7 +28,7 @@ EEPROMKeymap::EEPROMKeymap(void) {
}
void EEPROMKeymap::begin(void) {
USE_PLUGINS(&::EEPROMSettings);
Kaleidoscope.use(&::EEPROMSettings);
}
void EEPROMKeymap::max_layers(uint8_t max) {

Loading…
Cancel
Save