forked from forks/qmk_firmware
7407347be1
* Remove rgblight_list defines with no usage * Remove rgblight_setrgb_*[_at] defines * Remove rgblight_sethsv_* defines * Remove rgblight_sethsv_noeeprom_* defines * Delete rgblight_list.h and remove all references
15 lines
406 B
C
15 lines
406 B
C
#include QMK_KEYBOARD_H
|
|
#include "apa102.h" // Only needed if you want to use the global brightness function
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
LAYOUT_ortho_1x1(RGB_MOD)
|
|
};
|
|
|
|
void keyboard_post_init_user(void) {
|
|
apa102_set_brightness(5);
|
|
|
|
rgblight_enable_noeeprom();
|
|
rgblight_sethsv_noeeprom(HSV_CYAN);
|
|
rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
|
|
}
|