From c82ee931acef589c8ef260e26a3de7ecd88acb53 Mon Sep 17 00:00:00 2001 From: Felix Jen Date: Mon, 12 Jun 2023 18:10:48 -0500 Subject: [PATCH] Remove extra layers in the keymap --- .../keebfront/vanguard65/keymaps/via/keymap.c | 24 ++----------------- lib/lvgl | 1 + 2 files changed, 3 insertions(+), 22 deletions(-) create mode 160000 lib/lvgl diff --git a/keyboards/keebfront/vanguard65/keymaps/via/keymap.c b/keyboards/keebfront/vanguard65/keymaps/via/keymap.c index e5dcc2a223f..7dac2eb69e8 100644 --- a/keyboards/keebfront/vanguard65/keymaps/via/keymap.c +++ b/keyboards/keebfront/vanguard65/keymaps/via/keymap.c @@ -18,9 +18,7 @@ along with this program. If not, see . enum layers { _LAYER0, - _LAYER1, - _LAYER2, - _LAYER3 + _LAYER1 }; enum custom_keycodes { @@ -55,10 +53,8 @@ void eeconfig_init_user(void) { #if defined(ENCODER_MAP_ENABLE) const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [_LAYER1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_LAYER2] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_LAYER3] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, [_LAYER0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [_LAYER1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) } }; #endif @@ -80,22 +76,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK ), - [_LAYER2] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS , KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - - [_LAYER3] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - }; /* Configure custom MIDI Keycodes that will be placed on USER_00 and USER_01 */ diff --git a/lib/lvgl b/lib/lvgl new file mode 160000 index 00000000000..e19410f8f8a --- /dev/null +++ b/lib/lvgl @@ -0,0 +1 @@ +Subproject commit e19410f8f8a256609da72cff549598e0df6fa4cf