examples/Kaleidoscope: Use NumPad instead of Numlock

Since Numlock is deprecated, use NumPad instead, following what the factory
firmware did.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/341/head
Gergely Nagy 7 years ago
parent c18fe0584a
commit 830685da1d

@ -7,7 +7,7 @@
#include "Kaleidoscope-MouseKeys.h"
#include "Kaleidoscope-Macros.h"
#include "Kaleidoscope-LEDControl.h"
#include "Kaleidoscope-Numlock.h"
#include "Kaleidoscope-NumPad.h"
#include "Kaleidoscope.h"
#include "LED-Off.h"
@ -87,14 +87,14 @@ const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
KALEIDOSCOPE_INIT_PLUGINS(TestMode,
LEDControl, LEDOff,
solidRed, solidOrange, solidYellow, solidGreen, solidBlue, solidIndigo, solidViolet,
LEDBreatheEffect, LEDRainbowEffect, LEDChaseEffect, NumLock,
LEDBreatheEffect, LEDRainbowEffect, LEDChaseEffect, NumPad,
Macros,
MouseKeys);
void setup() {
Kaleidoscope.setup();
NumLock.numPadLayer = NUMPAD_KEYMAP;
NumPad.numPadLayer = NUMPAD_KEYMAP;
LEDOff.activate();
}

Loading…
Cancel
Save