diff options
author | jack <0x6A73@pm.me> | 2022-07-12 23:20:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 22:20:38 -0700 |
commit | 98312417b524b7ef4717c5a5523ab87d94aeee52 (patch) | |
tree | 9ad6d2e8b239696ea03558f5492c763d5e335ef6 /keyboards/boardsource/lulu/keymaps/default | |
parent | 068d5688d849ea3b1b5280457b42b7c42115c2ba (diff) |
[Keyboard] boardsource/lulu data driven (#17638)
Diffstat (limited to 'keyboards/boardsource/lulu/keymaps/default')
-rw-r--r-- | keyboards/boardsource/lulu/keymaps/default/keymap.c | 21 |
1 files changed, 0 insertions, 21 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 |