From f93d72e57fbabc08cdd0b6038e8c9ef17d1fc8ac Mon Sep 17 00:00:00 2001 From: ThePanduuh Date: Sun, 19 Feb 2023 00:41:58 -0500 Subject: [PATCH] [Keymap] Add encoder map to degenpad default keymap (#19880) --- keyboards/thepanduuh/degenpad/keymaps/default/keymap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keyboards/thepanduuh/degenpad/keymaps/default/keymap.c b/keyboards/thepanduuh/degenpad/keymaps/default/keymap.c index 82b553d104..f46a447eff 100644 --- a/keyboards/thepanduuh/degenpad/keymaps/default/keymap.c +++ b/keyboards/thepanduuh/degenpad/keymaps/default/keymap.c @@ -45,3 +45,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [_BASE] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)}, + [_FN] = {ENCODER_CCW_CW(KC_NO, KC_NO)} +}; +#endif