mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
9587fac72a
* 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.
23 lines
388 B
C
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();
|
|
};
|