summaryrefslogtreecommitdiff
path: root/keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c')
-rw-r--r--keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c b/keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c
index d157d9db31..69b9dacd27 100644
--- a/keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c
+++ b/keyboards/aidansmithdotdev/fine40/keymaps/default/keymap.c
@@ -41,3 +41,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______ , _______ , _______ , _______ , _______ , _______ , _______ , KC_MS_L , KC_MS_D , KC_MS_U , KC_MS_R , _______
),
};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+ [_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [_TAB] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+};
+#endif \ No newline at end of file