aboutsummaryrefslogtreecommitdiff
path: root/keyboards/binepad
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-04-11 14:21:32 -0700
committerGitHub <[email protected]>2024-04-11 14:21:32 -0700
commitcb81913d18fd567cb2dbadcd9a5c5c767f75ba60 (patch)
tree35e62d69a2b1e79d41bff00d074057da46b60d10 /keyboards/binepad
parenta532d1cc5a785da3d73812330aad95555efb81fa (diff)
downloadqmk_firmware-cb81913d18fd567cb2dbadcd9a5c5c767f75ba60.tar.gz
qmk_firmware-cb81913d18fd567cb2dbadcd9a5c5c767f75ba60.zip
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/binepad')
-rw-r--r--keyboards/binepad/bn003/config.h22
-rw-r--r--keyboards/binepad/bn003/keyboard.json6
-rw-r--r--keyboards/binepad/bn009/r1/keyboard.json (renamed from keyboards/binepad/bn009/r1/info.json)3
-rw-r--r--keyboards/binepad/bn009/r1/rules.mk4
-rwxr-xr-xkeyboards/binepad/bnr1/rules.mk2
-rw-r--r--keyboards/binepad/bnr1/v1/keyboard.json (renamed from keyboards/binepad/bnr1/v1/info.json)3
-rw-r--r--keyboards/binepad/bnr1/v1/rules.mk3
7 files changed, 12 insertions, 31 deletions
diff --git a/keyboards/binepad/bn003/config.h b/keyboards/binepad/bn003/config.h
deleted file mode 100644
index 77f51ecf5a..0000000000
--- a/keyboards/binepad/bn003/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 BINEPAD
- *
- * 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
diff --git a/keyboards/binepad/bn003/keyboard.json b/keyboards/binepad/bn003/keyboard.json
index 695518828e..440b5f6597 100644
--- a/keyboards/binepad/bn003/keyboard.json
+++ b/keyboards/binepad/bn003/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B4", "B5", "B6"],
"rows": ["C6"]
diff --git a/keyboards/binepad/bn009/r1/info.json b/keyboards/binepad/bn009/r1/keyboard.json
index 4b6a49bb9d..c5338c648d 100644
--- a/keyboards/binepad/bn009/r1/info.json
+++ b/keyboards/binepad/bn009/r1/keyboard.json
@@ -1,5 +1,8 @@
{
"keyboard_name": "BN009 R1",
+ "build": {
+ "lto": true
+ },
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
"matrix_pins": {
diff --git a/keyboards/binepad/bn009/r1/rules.mk b/keyboards/binepad/bn009/r1/rules.mk
deleted file mode 100644
index 10468472aa..0000000000
--- a/keyboards/binepad/bn009/r1/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright 2020 Binepad (@binpad)
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-LTO_ENABLE = yes
diff --git a/keyboards/binepad/bnr1/rules.mk b/keyboards/binepad/bnr1/rules.mk
index 9719de29b8..ce85c57404 100755
--- a/keyboards/binepad/bnr1/rules.mk
+++ b/keyboards/binepad/bnr1/rules.mk
@@ -1,3 +1 @@
-# This file is mostly left blank
-
DEFAULT_FOLDER = binepad/bnr1/v2
diff --git a/keyboards/binepad/bnr1/v1/info.json b/keyboards/binepad/bnr1/v1/keyboard.json
index e67ea81282..ff3e633e19 100644
--- a/keyboards/binepad/bnr1/v1/info.json
+++ b/keyboards/binepad/bnr1/v1/keyboard.json
@@ -6,6 +6,9 @@
"pid": "0x4231",
"device_version": "1.0.0"
},
+ "build": {
+ "lto": true
+ },
"matrix_pins": {
"cols": ["B0"],
"rows": ["E6"]
diff --git a/keyboards/binepad/bnr1/v1/rules.mk b/keyboards/binepad/bnr1/v1/rules.mk
deleted file mode 100644
index ac022b38ca..0000000000
--- a/keyboards/binepad/bnr1/v1/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-# This file is mostly left blank
-
-LTO_ENABLE = yes