Merge pull request #5 from tchernomax/NoKey

Don't enable LED on Key_NoKey
pull/365/head
Jesse Vincent 7 years ago committed by GitHub
commit 28bd356ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,7 @@ void NumPad_::loopHook(bool postClear) {
col = c;
}
if ((k != layer_key) || (k.flags != KEY_FLAGS)) {
if ((k != layer_key) || (k == Key_NoKey) || (k.flags != KEY_FLAGS)) {
LEDControl.refreshAt(r, c);
} else {
LEDControl.setCrgbAt(r, c, numpad_color);

Loading…
Cancel
Save