Add LED documentation (#26)

* add LED documentation

* add LED documentation to other default profiles
This commit is contained in:
jmarmstrong1207
2021-09-12 09:26:27 +02:00
committed by bwisn
parent 218e35275e
commit 853388d9dd
3 changed files with 39 additions and 0 deletions
@@ -8,6 +8,7 @@ enum anne_pro_layers {
_FN2_LAYER,
};
// Key symbols are based on QMK. Use them to remap your keyboard
/*
* Layer _BASE_LAYER
* ,-----------------------------------------------------------------------------------------.
@@ -97,6 +98,18 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
// Code to run after initializing the keyboard
void keyboard_post_init_user(void) {
// Here are two common functions that you can use. For more LED functions, refer to the file "qmk_ap2_led.h"
// annepro2-shine disables LEDs by default. Uncomment this function to enable them at startup.
// annepro2LedEnable();
// Additionally, it also chooses the first LED profile by default. Refer to the "profiles" array in main.c in
// annepro2-shine to see the order. Replace "i" with the index of your preferred profile. (i.e the RED profile is index 0)
// annepro2LedSetProfile(i);
}
layer_state_t layer_state_set_user(layer_state_t layer) {
return layer;
}
@@ -8,6 +8,7 @@ enum anne_pro_layers {
_FN2_LAYER,
};
// Key symbols are based on QMK. Use them to remap your keyboard
/*
* Layer _BASE_LAYER
* ,-----------------------------------------------------------------------------------------.
@@ -97,6 +98,18 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
// Code to run after initializing the keyboard
void keyboard_post_init_user(void) {
// Here are two common functions that you can use. For more LED functions, refer to the file "qmk_ap2_led.h"
// annepro2-shine disables LEDs by default. Uncomment this function to enable them at startup.
// annepro2LedEnable();
// Additionally, it also chooses the first LED profile by default. Refer to the "profiles" array in main.c in
// annepro2-shine to see the order. Replace "i" with the index of your preferred profile. (i.e the RED profile is index 0)
// annepro2LedSetProfile(i);
}
layer_state_t layer_state_set_user(layer_state_t layer) {
switch(get_highest_layer(layer)) {
case _FN1_LAYER:
@@ -8,6 +8,7 @@ enum anne_pro_layers {
_FN2_LAYER,
};
// Key symbols are based on QMK. Use them to remap your keyboard
/*
* Layer _BASE_LAYER
* ,-----------------------------------------------------------------------------------------.
@@ -97,6 +98,18 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
// Code to run after initializing the keyboard
void keyboard_post_init_user(void) {
// Here are two common functions that you can use. For more LED functions, refer to the file "qmk_ap2_led.h"
// annepro2-shine disables LEDs by default. Uncomment this function to enable them at startup.
// annepro2LedEnable();
// Additionally, it also chooses the first LED profile by default. Refer to the "profiles" array in main.c in
// annepro2-shine to see the order. Replace "i" with the index of your preferred profile. (i.e the RED profile is index 0)
// annepro2LedSetProfile(i);
}
layer_state_t layer_state_set_user(layer_state_t layer) {
return layer;
}