From ef8878fba5d3786e3f9c66436da63a560cd36ac9 Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Mon, 24 Feb 2020 12:04:40 -0800 Subject: 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 --- keyboards/hineybush/h87a/keymaps/via/keymap.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'keyboards/hineybush/h87a/keymaps/via') diff --git a/keyboards/hineybush/h87a/keymaps/via/keymap.c b/keyboards/hineybush/h87a/keymaps/via/keymap.c index e4be1cfc9b..d248a6d4a3 100644 --- a/keyboards/hineybush/h87a/keymaps/via/keymap.c +++ b/keyboards/hineybush/h87a/keymaps/via/keymap.c @@ -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), }; - -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; -} -- cgit v1.2.3