diff options
author | QMK Bot <hello@qmk.fm> | 2023-05-31 18:44:47 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-05-31 18:44:47 +0000 |
commit | b3a7f80e1ad3491bd7f58dad518554717126c1b9 (patch) | |
tree | 65d3bd98395e59eb3d51333a591c5fb42699c292 /layouts/community/ortho_4x12 | |
parent | cc11b63d872db4090913d052706de452592143c4 (diff) | |
parent | 3a3e5abac992712a8bb4e9b61430f5fc62dc6043 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'layouts/community/ortho_4x12')
-rw-r--r-- | layouts/community/ortho_4x12/drashna/keymap.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/layouts/community/ortho_4x12/drashna/keymap.c b/layouts/community/ortho_4x12/drashna/keymap.c index cc84c132d9..475ccc5c3a 100644 --- a/layouts/community/ortho_4x12/drashna/keymap.c +++ b/layouts/community/ortho_4x12/drashna/keymap.c @@ -237,34 +237,6 @@ void keyboard_post_init_keymap(void) { } #endif // RGB_MATRIX_INIT -#ifdef ENCODER_ENABLE -bool encoder_update_user(uint8_t index, bool clockwise) { - switch (get_highest_layer(layer_state)) { - case _RAISE: - clockwise ? tap_code(KC_VOLD) : tap_code(KC_VOLU); - break; - case _LOWER: -# ifdef RGB_MATRIX_ENABLE - clockwise ? rgb_matrix_step() : rgb_matrix_step_reverse(); -# else - clockwise ? tap_code(KC_PGDN) : tap_code(KC_PGUP); -# endif - break; - case _ADJUST: -# ifdef AUDIO_CLICKY - clockwise ? clicky_freq_up() : clicky_freq_down(); -# endif - break; - default: - clockwise ? tap_code(KC_DOWN) : tap_code(KC_UP); - } -# ifdef AUDIO_CLICKY - clicky_play(); -# endif - return true; -} -#endif // ENCODER_ENABLE - #ifdef KEYBOARD_planck_rev6 bool dip_switch_update_user(uint8_t index, bool active) { switch (index) { |