diff options
author | Joel Challis <git@zvecr.com> | 2023-02-22 01:15:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 01:15:18 +0000 |
commit | 0512e286a6aabe8645ed980abec82790a1f881cd (patch) | |
tree | 50184f33e46c9fa2ee4e49cba1b05f44f623e4c2 /keyboards/yandrstudio/buff67v3 | |
parent | 26854f59402f3f4b7ca5cfe0f3dd665a680715f5 (diff) |
Remove magic bodges from via keymaps (#19890)
Diffstat (limited to 'keyboards/yandrstudio/buff67v3')
-rw-r--r-- | keyboards/yandrstudio/buff67v3/buff67v3.c | 12 | ||||
-rw-r--r-- | keyboards/yandrstudio/buff67v3/buff67v3.h | 10 |
2 files changed, 0 insertions, 22 deletions
diff --git a/keyboards/yandrstudio/buff67v3/buff67v3.c b/keyboards/yandrstudio/buff67v3/buff67v3.c index 62a74c82bb..5ba95efbcc 100644 --- a/keyboards/yandrstudio/buff67v3/buff67v3.c +++ b/keyboards/yandrstudio/buff67v3/buff67v3.c @@ -41,18 +41,6 @@ void keyboard_post_init_kb(void) { #endif -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - if (!process_record_user(keycode, record)) { return false; } - switch(keycode) { - case LOCK_GUI: - process_magic(GUI_TOG, record); - return false; - default: - break; - } - return true; -} - void board_init(void) { AFIO->MAPR |= AFIO_MAPR_TIM3_REMAP_PARTIALREMAP; } diff --git a/keyboards/yandrstudio/buff67v3/buff67v3.h b/keyboards/yandrstudio/buff67v3/buff67v3.h index dc6f334a58..64970d3863 100644 --- a/keyboards/yandrstudio/buff67v3/buff67v3.h +++ b/keyboards/yandrstudio/buff67v3/buff67v3.h @@ -30,13 +30,3 @@ { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, KC_NO, K312, K313, K314 }, \ { K400, K401, K402, KC_NO, KC_NO, K405, KC_NO, KC_NO, KC_NO, K409, K410, KC_NO, K412, K413, K414 } \ } - -enum keyboard_keycodes { -#ifdef VIA_ENABLE - LOCK_GUI = USER00, - NEW_SAFE_RANGE = SAFE_RANGE // Important! -#else - LOCK_GUI = SAFE_RANGE, - NEW_SAFE_RANGE // Important! -#endif -}; |