1 /* Copyright 2019 westfoxtrot
5 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
33 void keyboard_pre_init_kb(void) {
35 // Call the keyboard pre init code.
36 // Set our LED pins as output
39 keyboard_pre_init_user();
42 void led_set_kb(uint8_t usb_led) {
44 if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
54 led_set_user(usb_led);