mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-03 16:35:10 +00:00
78ccd9c201
* reset; redoing my steps; and recommit * include xd002/.noci
47 lines
1.3 KiB
C
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);
|
|
}
|