Hineybush h87a lock indicators (#8237)

* move lighting code from VIA into the keyboard's .c file so that every keymap can access it

* after some serious conversations with default and wkl, they agreed to let me modify their keymaps. They weren't too happy
This commit is contained in:
MechMerlin 2020-02-24 12:04:40 -08:00 committed by GitHub
parent 52a46116d4
commit 297e93c248

View file

@ -50,14 +50,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
}; };
void led_init_ports(void) {
setPinOutput(D5);
setPinOutput(E6);
}
bool led_update_user(led_t led_state) {
writePin(D5, !led_state.caps_lock);
writePin(E6, !led_state.scroll_lock);
return true;
}