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/yr80/yr80.c | |
parent | 26854f59402f3f4b7ca5cfe0f3dd665a680715f5 (diff) |
Remove magic bodges from via keymaps (#19890)
Diffstat (limited to 'keyboards/yandrstudio/yr80/yr80.c')
-rw-r--r-- | keyboards/yandrstudio/yr80/yr80.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/keyboards/yandrstudio/yr80/yr80.c b/keyboards/yandrstudio/yr80/yr80.c index 0228545e8c..2752dc9230 100644 --- a/keyboards/yandrstudio/yr80/yr80.c +++ b/keyboards/yandrstudio/yr80/yr80.c @@ -37,23 +37,3 @@ 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 KC_LG: - if (record->event.pressed) { - process_magic(GUI_TOG, record); - } - return false; - case KC_MACOS: - if (record->event.pressed) { - process_magic(CG_TOGG, record); - } - return false; - default: - return true; - } - return true; -} |