mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
46b4b4407f
* Add OLED support for Comet46 * fix length of char "name" of keylogger.c * update ssd1306 * fix rules.mk * update led-receiver keymap * Update OLED related code * add mod_state_reader & modify led_state_reader * Update OLED related files * Update kemaps * Update readme * change default-oled-display to default * Add OSM compatibility to mod_state_reader * Code formatting * Use PROGMEM to store code_to_name * Clean up satt keymap * Rename default-led keymap to defult-rgbled
23 lines
377 B
C
23 lines
377 B
C
#include "comet46.h"
|
|
|
|
void uart_init(void) {
|
|
SERIAL_UART_INIT();
|
|
}
|
|
|
|
void matrix_init_kb(void) {
|
|
// put your keyboard start-up code here
|
|
// runs once when the firmware starts up
|
|
matrix_init_user();
|
|
uart_init();
|
|
}
|
|
|
|
void matrix_scan_kb(void) {
|
|
// put your looping keyboard code here
|
|
// runs every cycle (a lot)
|
|
matrix_scan_user();
|
|
}
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
|
|
}
|