summaryrefslogtreecommitdiff
path: root/keyboards/boardsource/lulu/keymaps
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-07-12 23:20:38 -0600
committerGitHub <noreply@github.com>2022-07-12 22:20:38 -0700
commit98312417b524b7ef4717c5a5523ab87d94aeee52 (patch)
tree9ad6d2e8b239696ea03558f5492c763d5e335ef6 /keyboards/boardsource/lulu/keymaps
parent068d5688d849ea3b1b5280457b42b7c42115c2ba (diff)
[Keyboard] boardsource/lulu data driven (#17638)
Diffstat (limited to 'keyboards/boardsource/lulu/keymaps')
-rw-r--r--keyboards/boardsource/lulu/keymaps/default/keymap.c21
-rw-r--r--keyboards/boardsource/lulu/keymaps/via/keymap.c1
2 files changed, 0 insertions, 22 deletions
diff --git a/keyboards/boardsource/lulu/keymaps/default/keymap.c b/keyboards/boardsource/lulu/keymaps/default/keymap.c
index 8624b51b6a..cbee1401ed 100644
--- a/keyboards/boardsource/lulu/keymaps/default/keymap.c
+++ b/keyboards/boardsource/lulu/keymaps/default/keymap.c
@@ -106,24 +106,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- // Volume control
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- } else if (index == 1) {
- // Page up/Page down
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- }
- return false;
-}
-#endif
diff --git a/keyboards/boardsource/lulu/keymaps/via/keymap.c b/keyboards/boardsource/lulu/keymaps/via/keymap.c
index 912ea38559..de635a6128 100644
--- a/keyboards/boardsource/lulu/keymaps/via/keymap.c
+++ b/keyboards/boardsource/lulu/keymaps/via/keymap.c
@@ -102,4 +102,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______
)
};
-