summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/rgb/keymap.c
blob: c3e77f1ec1ba35da8bde62fa81ff83969e5c1106 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    LAYOUT_ortho_1x1(RGB_MOD)
};

void keyboard_post_init_user(void) {
    rgblight_enable_noeeprom();
    rgblight_sethsv_noeeprom_cyan();
    rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
}