summaryrefslogtreecommitdiff
path: root/keyboards/thepanduuh/degenpad
diff options
context:
space:
mode:
authorThePanduuh <feojoe2@gmail.com>2023-02-19 00:41:58 -0500
committerGitHub <noreply@github.com>2023-02-18 22:41:58 -0700
commitf93d72e57fbabc08cdd0b6038e8c9ef17d1fc8ac (patch)
tree044f255f64dda95ef73eaae077ba8b43e4ae303a /keyboards/thepanduuh/degenpad
parent08fc37062175d6e4998c40be5b5f9a8993bc710b (diff)
[Keymap] Add encoder map to degenpad default keymap (#19880)
Diffstat (limited to 'keyboards/thepanduuh/degenpad')
-rw-r--r--keyboards/thepanduuh/degenpad/keymaps/default/keymap.c6
1 files changed, 6 insertions, 0 deletions
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