1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/kudox/rev1/rev1.c
x1 9587fac72a [Keyboard] Add kudox keyboard (#6459)
* Add Kudox Keyboard profile.

* Modified info.json and image link on readme.

* Remove unnecessary codes.

* Set BootLoader caterina.

* Remove duplicated settings on rules.mk.

* Clean up config.h.

* Modified include header path.

* Modified info.json to adjust 4th row keys y position.

* Separate default keymap and my keymap.

* Modified RGB_LED_* settings on kudox/rev1/config.h.
2019-08-06 10:14:40 -07:00

23 lines
388 B
C

#include "kudox.h"
#ifdef SSD1306OLED
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
#endif
void matrix_init_kb(void) {
// // green led on
// DDRD |= (1<<5);
// PORTD &= ~(1<<5);
// // orange led on
// DDRB |= (1<<0);
// PORTB &= ~(1<<0);
matrix_init_user();
};