1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/xiudi/xd75/keymaps/4sstylz/leds.h
peepeetee 78ccd9c201
Organize KPrepublic, K.T.E.C, xiudi boards into directories (#12159)
* reset; redoing my steps; and recommit

* include xd002/.noci
2021-08-22 13:53:49 +10:00

47 lines
1.3 KiB
C

/*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Copyright (C) 2019 4sStylZ <4sstylz@protonmail.ch>
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
* as the name is changed.
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
*
* 0. You just DO WHAT THE FUCK YOU WANT TO.
*/
#include QMK_KEYBOARD_H
void setDefaultDisplay(void) {
_delay_ms(10);
rgblight_setrgb_at(180, 35, 0, 0);
_delay_ms(10);
rgblight_setrgb_at(200, 35, 0, 1);
_delay_ms(10);
rgblight_setrgb_at(220, 35, 0, 2);
_delay_ms(10);
rgblight_setrgb_at(220, 35, 0, 3);
_delay_ms(10);
rgblight_setrgb_at(200, 35, 0, 4);
_delay_ms(10);
rgblight_setrgb_at(180, 35, 0, 5);
}
void setFNDisplay(void) {
_delay_ms(10);
rgblight_setrgb_at(145, 45, 0, 0);
_delay_ms(10);
rgblight_setrgb_at(160, 45, 0, 1);
_delay_ms(10);
rgblight_setrgb_at(175, 45, 0, 2);
_delay_ms(10);
rgblight_setrgb_at(190, 45, 0, 3);
_delay_ms(10);
rgblight_setrgb_at(205, 45, 0, 4);
_delay_ms(10);
rgblight_setrgb_at(220, 45, 0, 5);
}