logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

keymap.c (406B)


  1. #include QMK_KEYBOARD_H
  2. #include "apa102.h" // Only needed if you want to use the global brightness function
  3. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  4. LAYOUT_ortho_1x1(UG_NEXT)
  5. };
  6. void keyboard_post_init_user(void) {
  7. apa102_set_brightness(5);
  8. rgblight_enable_noeeprom();
  9. rgblight_sethsv_noeeprom(HSV_CYAN);
  10. rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
  11. }