diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-11-08 19:28:16 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-11-08 19:28:16 +0100 |
commit | ab92685a82c3b063eecfd2eb933dda8256f72523 (patch) | |
tree | 46ea9bd07cae949fa74aa10489ab4966fccf1335 /ferris/keymap.c | |
parent | 0bf3a40802d5fde7be109ef2a69e6e7ca04ccf9f (diff) |
ferris sweep has no audio or lighting
Diffstat (limited to 'ferris/keymap.c')
-rw-r--r-- | ferris/keymap.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ferris/keymap.c b/ferris/keymap.c index f2af9a3..0c946b7 100644 --- a/ferris/keymap.c +++ b/ferris/keymap.c @@ -124,52 +124,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -/* plwnck rev6 RGB layout: - * ---------------------------------- - * | 6 5 4 3 | - * | 0 | - * | 7 8 1 2 | - * ---------------------------------- - */ - -const rgblight_segment_t PROGMEM qwerty_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_WHITE} -); - -const rgblight_segment_t PROGMEM sym_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_BLUE} -); - -const rgblight_segment_t PROGMEM num_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_GREEN} -); - -const rgblight_segment_t PROGMEM fn_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_RED} -); - -const rgblight_segment_t PROGMEM nav_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_WHITE} -); - -const rgblight_segment_t * const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( - [_QWERTY] = qwerty_layer, - [_SYM] = sym_layer, - [_NUM] = num_layer, - [_FN] = fn_layer, - [_NAV] = nav_layer -); - -void keyboard_post_init_user(void) { - // Enable the LED layers - rgblight_layers = my_rgb_layers; -} - -layer_state_t layer_state_set_user(layer_state_t state) -{ - rgblight_set_layer_state(_SYM, layer_state_cmp(state, _SYM)); - rgblight_set_layer_state(_NUM, layer_state_cmp(state, _NUM)); - rgblight_set_layer_state(_FN, layer_state_cmp(state, _FN)); - rgblight_set_layer_state(_NAV, layer_state_cmp(state, _NAV)); - return state; -} |