Update to work with new simpler Nulock API

pull/141/head
Jesse Vincent 7 years ago
parent 4a9ce76915
commit 72cd5f7db8
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -75,7 +75,7 @@ static LEDSolidColor solidViolet(70, 0, 60);
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
if (macroIndex == TOGGLENUMLOCK && key_toggled_on(keyState)) {
return NumLock.toggle(Macros.row, Macros.col, NUMPAD_KEYMAP);
return NumLock.toggle();
}
if (macroIndex == 1 && key_toggled_on(keyState)) {
@ -101,7 +101,7 @@ void setup() {
&Macros,
&MouseKeys,
NULL);
NumLock.numPadLayer = NUMPAD_KEYMAP;
LEDOff.activate();
}

Loading…
Cancel
Save