diff options
| author | James Young | 2024-04-11 23:21:32 +0200 |
|---|---|---|
| committer | GitHub | 2024-04-11 23:21:32 +0200 |
| commit | cb81913d18fd567cb2dbadcd9a5c5c767f75ba60 (patch) | |
| tree | 35e62d69a2b1e79d41bff00d074057da46b60d10 /keyboards/biacco42 | |
| parent | a532d1cc5a785da3d73812330aad95555efb81fa (diff) | |
Data-Driven Keyboard Conversions: B (#23425)
Converts configuration definitions and rules to data-driven where
applicable. Renames `info.json` to `keyboard.json` in instances where
`rules.mk` can be safely deleted.
Affects:
- `bacca70`
- `baguette`
- `baion_808`
- `bajjak`
- `bandominedoni`
- `bantam44`
- `barleycorn_smd`
- `barracuda`
- `basekeys/slice/rev1`
- `basekeys/slice/rev1_rgb`
- `basekeys/trifecta`
- `basketweave`
- `bastardkb/dilemma/4x6_4`
- `bbrfkr/dynamis`
- `bear_face`
- `beatervan`
- `bemeier/bmek`
- `biacco42/ergo42`
- `biacco42/meishi`
- `biacco42/meishi2`
- `binepad/bn003`
- `binepad/bn009/r1`
- `binepad/bnr1`
- `bioi/g60`
- `bioi/g60ble`
- `bioi/morgan65`
- `bioi/s65`
- `blackplum`
- `blank/blank01`
- `blank_tehnologii/manibus`
- `blockey`
- `bluebell/swoop`
- `boardrun/bizarre`
- `boardrun/classic`
- `boardsource/equals/48`
- `boardsource/equals/60`
- `boardwalk`
- `bop`
- `boston`
- `boston_meetup/2019`
- `box75`
- `bpiphany/four_banger`
- `bpiphany/frosty_flake`
- `bpiphany/ghost_squid`
- `bpiphany/hid_liber`
- `bpiphany/kitten_paw`
- `bpiphany/tiger_lily`
- `bpiphany/unloved_bastard`
- `bt66tech/bt66tech60`
- `bubble75/hotswap`
- `budgy`
- `buildakb/potato65`
- `buildakb/potato65hs`
- `buildakb/potato65s`
- `buzzard`
Diffstat (limited to 'keyboards/biacco42')
| -rw-r--r-- | keyboards/biacco42/ergo42/rev1/config.h | 41 | ||||
| -rw-r--r-- | keyboards/biacco42/ergo42/rev1/keyboard.json (renamed from keyboards/biacco42/ergo42/rev1/info.json) | 13 | ||||
| -rw-r--r-- | keyboards/biacco42/ergo42/rev1/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/biacco42/ergo42/rules.mk | 15 | ||||
| -rw-r--r-- | keyboards/biacco42/meishi/config.h | 39 | ||||
| -rw-r--r-- | keyboards/biacco42/meishi/keyboard.json | 6 | ||||
| -rw-r--r-- | keyboards/biacco42/meishi2/config.h | 39 | ||||
| -rw-r--r-- | keyboards/biacco42/meishi2/keyboard.json | 6 |
8 files changed, 25 insertions, 135 deletions
diff --git a/keyboards/biacco42/ergo42/rev1/config.h b/keyboards/biacco42/ergo42/rev1/config.h deleted file mode 100644 index 179b117243..0000000000 --- a/keyboards/biacco42/ergo42/rev1/config.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> -Copyright 2015 Jack Humbert -Copyright 2017 Biacco42 - -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/>. -*/ - -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -// #define NO_DEBUG - -/* disable print */ -// #define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/biacco42/ergo42/rev1/info.json b/keyboards/biacco42/ergo42/rev1/keyboard.json index 67f27ad612..b3a53bb3a4 100644 --- a/keyboards/biacco42/ergo42/rev1/info.json +++ b/keyboards/biacco42/ergo42/rev1/keyboard.json @@ -8,6 +8,18 @@ "pid": "0x0042", "device_version": "1.0.0" }, + "features": { + "bootmagic": false, + "mousekey": true, + "extrakey": true, + "command": true + }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "rgblight": { "led_count": 12 }, @@ -20,6 +32,7 @@ }, "diode_direction": "COL2ROW", "split": { + "enabled": true, "soft_serial_pin": "D0" }, "processor": "atmega32u4", diff --git a/keyboards/biacco42/ergo42/rev1/rules.mk b/keyboards/biacco42/ergo42/rev1/rules.mk deleted file mode 100644 index 7b30c0beff..0000000000 --- a/keyboards/biacco42/ergo42/rev1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -BACKLIGHT_ENABLE = no diff --git a/keyboards/biacco42/ergo42/rules.mk b/keyboards/biacco42/ergo42/rules.mk index 62044b6c13..18059c0a3b 100644 --- a/keyboards/biacco42/ergo42/rules.mk +++ b/keyboards/biacco42/ergo42/rules.mk @@ -1,16 +1 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -SPLIT_KEYBOARD = yes - DEFAULT_FOLDER = biacco42/ergo42/rev1 diff --git a/keyboards/biacco42/meishi/config.h b/keyboards/biacco42/meishi/config.h deleted file mode 100644 index df5455b3c2..0000000000 --- a/keyboards/biacco42/meishi/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2019 Biacco42 - -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/>. -*/ - -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/biacco42/meishi/keyboard.json b/keyboards/biacco42/meishi/keyboard.json index d9d37d72fe..b7d751d83e 100644 --- a/keyboards/biacco42/meishi/keyboard.json +++ b/keyboards/biacco42/meishi/keyboard.json @@ -16,6 +16,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["B1", "B3", "B2", "B6"], "rows": ["B5"] diff --git a/keyboards/biacco42/meishi2/config.h b/keyboards/biacco42/meishi2/config.h deleted file mode 100644 index df5455b3c2..0000000000 --- a/keyboards/biacco42/meishi2/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2019 Biacco42 - -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/>. -*/ - -#pragma once - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/biacco42/meishi2/keyboard.json b/keyboards/biacco42/meishi2/keyboard.json index 3a392442f2..2f553681bc 100644 --- a/keyboards/biacco42/meishi2/keyboard.json +++ b/keyboards/biacco42/meishi2/keyboard.json @@ -16,6 +16,12 @@ "mousekey": true, "nkro": false }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["F5", "F6"], "rows": ["D7", "E6"] |