Update 333fred keymaps and add new iris map. (#6010)
* Update 333fred keymaps and add new iris map. * Fix iris key
This commit is contained in:
parent
38d3b7aa45
commit
287767bba1
11 changed files with 195 additions and 255 deletions
|
@ -1,16 +1,11 @@
|
|||
#include "quantum.h"
|
||||
#include "333fred.h"
|
||||
|
||||
void matrix_init_rgb(void) {
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(270, 255, 20);
|
||||
}
|
||||
|
||||
void layer_state_set_rgb(uint32_t state) {
|
||||
switch (biton32(state)) {
|
||||
case BASE:
|
||||
// purple
|
||||
rgblight_sethsv_noeeprom(270, 255, 20);
|
||||
rgblight_sethsv_noeeprom(255, 255, 20);
|
||||
break;
|
||||
case SYMB:
|
||||
// blue
|
||||
|
@ -26,3 +21,8 @@ void layer_state_set_rgb(uint32_t state) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void keyboard_post_init_user(void) {
|
||||
rgblight_enable_noeeprom();
|
||||
layer_state_set_rgb(1); // Set layer 0 (bit 1) on
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue