diff options
author | jack <[email protected]> | 2025-07-06 00:42:42 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2025-07-06 07:42:42 +0100 |
commit | e92f1fb220e3556e707d51db44bf9dbec98ed65d (patch) | |
tree | e68b92a24c6276f7665083557971be8511f1fe5f /keyboards/helix/pico/pico.c | |
parent | 67c97da6544efbbf0cb3f4986feee2e3ca2f1355 (diff) | |
download | qmk_firmware-e92f1fb220e3556e707d51db44bf9dbec98ed65d.tar.gz qmk_firmware-e92f1fb220e3556e707d51db44bf9dbec98ed65d.zip |
Refactor `helix/pico` (#25428)
Refactor helix/pico
- Updates keyboard aliases accordingly
- Removes redundant back, base, sc, under, & qmk_conf revisions
- Migrates legacy defines and configuration to keyboard.json
- Tidy's keymap and migrates to JSON
- Fixes RGB configuration to illuminate 25 LEDs per half
- Enables standard features (bootmagic, extrakey, etc.)
Diffstat (limited to 'keyboards/helix/pico/pico.c')
-rw-r--r-- | keyboards/helix/pico/pico.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/keyboards/helix/pico/pico.c b/keyboards/helix/pico/pico.c deleted file mode 100644 index cc98fe8f61..0000000000 --- a/keyboards/helix/pico/pico.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2018 MakotoKurauchi - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include "pico.h" - -// Each keymap.c should use is_keyboard_master() instead of 'is_master'. -// But keep 'is_master' for a while for backwards compatibility -// for the old keymap.c. -uint8_t is_master = false; - -void matrix_init_kb(void) { - // Each keymap.c should use is_keyboard_master() instead of is_master. - // But keep is_master for a while for backwards compatibility - // for the old keymap.c. - is_master = is_keyboard_master(); - - matrix_init_user(); -}; - -void keyboard_post_init_kb(void) { -#if defined(DEBUG_MATRIX_SCAN_RATE) - debug_enable = true; -#endif - keyboard_post_init_user(); -} |