Update the example to work with the new LEDMode/LEDControl API

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/179/head
Gergely Nagy 7 years ago
parent 64f20850b5
commit 4dbc5d5707

@ -65,13 +65,13 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
};
static LEDSolidColor solidRed(60, 0, 0);
static LEDSolidColor solidOrange(60, 20, 0);
static LEDSolidColor solidYellow(40, 35, 0);
static LEDSolidColor solidGreen(0, 100, 0);
static LEDSolidColor solidBlue(0, 15, 100);
static LEDSolidColor solidIndigo(0, 0, 100);
static LEDSolidColor solidViolet(70, 0, 60);
static kaleidoscope::LEDSolidColor solidRed(60, 0, 0);
static kaleidoscope::LEDSolidColor solidOrange(60, 20, 0);
static kaleidoscope::LEDSolidColor solidYellow(40, 35, 0);
static kaleidoscope::LEDSolidColor solidGreen(0, 100, 0);
static kaleidoscope::LEDSolidColor solidBlue(0, 15, 100);
static kaleidoscope::LEDSolidColor solidIndigo(0, 0, 100);
static kaleidoscope::LEDSolidColor solidViolet(70, 0, 60);
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (macroIndex == TOGGLENUMLOCK && keyToggledOn(keyState)) {

Loading…
Cancel
Save