mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-12 13:17:38 +06:00
1ea0cac998
* Initial ARM bitbang ws2812 driver * Unify chibios platform to run rgblight_task * Remove 'avr only' comments from ws2812 docs * Remove 'avr only' comments from ws2812 docs * Unify chibios platform to run rgblight_task - review comments * Remove debug flags from keymap * Add comments from review * Add defines for STM32L0XX * Attempt to get arm ws2812 working on multiple gcc versions
12 lines
271 B
C
12 lines
271 B
C
#include QMK_KEYBOARD_H
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
LAYOUT( RGB_MOD )
|
|
};
|
|
|
|
void keyboard_post_init_user(void) {
|
|
rgblight_enable_noeeprom();
|
|
rgblight_sethsv_noeeprom_cyan();
|
|
rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
|
|
}
|