1
0

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`
This commit is contained in:
James Young
2024-04-11 14:21:32 -07:00
committed by GitHub
parent a532d1cc5a
commit cb81913d18
133 changed files with 645 additions and 1274 deletions

View File

@@ -1,23 +0,0 @@
/* Copyright 2022 Velocifire
*
* 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

View File

@@ -17,34 +17,6 @@
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = {
{
/* Key Matrix to LED Index */
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, NO_LED, 13 },
{ 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 },
{ 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43 },
{ 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, NO_LED, 44 },
{ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, NO_LED, 70, 71 },
{ 80, 79, 78, NO_LED, NO_LED, 77, NO_LED, NO_LED, 76, 75, NO_LED, 74, NO_LED, 73, 72 }
}, {
/* LED Index to Physical Position */
// Switch LEDs
{0,0}, {23,0}, {38,0}, {54,0}, {69,0}, {75,0}, {90,0}, {105,0}, {120,0}, {143,0}, {158,0}, {173,0}, {188,0}, {225,0},
{225,18}, {203,18}, {180,18}, {165,18}, {150,18}, {135,18}, {120,18}, {105,18}, {90,18}, {75,18}, {60,18}, {45,18}, {30,18}, {15,18}, {0,18},
{4,30}, {19,30}, {34,30}, {49,30}, {64,30}, {79,30}, {84,30}, {99,30}, {114,30}, {129,30}, {144,30}, {159,30}, {174,30}, {219,30}, {225,30},
{225,41}, {201,41}, {191,41}, {161,41}, {146,41}, {131,41}, {116,41}, {101,41}, {86,41}, {71,41}, {56,41}, {41,41}, {26,41}, {6,41},
{13,52}, {34,52}, {49,52}, {64,52}, {79,52}, {94,52}, {109,52}, {124,52}, {139,52}, {154,52}, {169,52}, {189,52}, {210,52}, {225,52},
{225,64}, {210,64}, {195,64}, {186,64}, {167,64}, {94,64}, {39,64}, {21,64}, {2,64},
}, {
4,4,4,4,4,4,4,4,4,4,4,4, 4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
4,4,4,4,4,4,4,4,4,4,4,4,4, 4,
4,4,4,4,4,4,4,4,4,4,4,4, 4,4,
4,4,4, 4, 4,4, 4, 4,4,
}
};
bool rgb_matrix_indicators_kb(void) {
if (!rgb_matrix_indicators_user()) {
return false;
@@ -54,6 +26,4 @@ bool rgb_matrix_indicators_kb(void) {
}
return true;
}
#endif

View File

@@ -7,7 +7,21 @@
"vid": "0x4242",
"pid": "0x5A4C",
"device_version": "0.0.1",
"force_nkro": true
"force_nkro": true,
"no_startup_check": true
},
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": true,
"nkro": true,
"rgb_matrix": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": {
"pin": "B7"
@@ -42,7 +56,90 @@
"solid_multisplash": true
},
"driver": "ws2812",
"max_brightness": 180
"max_brightness": 180,
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
{"matrix": [0, 1], "x": 23, "y": 0, "flags": 4},
{"matrix": [0, 2], "x": 38, "y": 0, "flags": 4},
{"matrix": [0, 3], "x": 54, "y": 0, "flags": 4},
{"matrix": [0, 4], "x": 69, "y": 0, "flags": 4},
{"matrix": [0, 5], "x": 75, "y": 0, "flags": 4},
{"matrix": [0, 6], "x": 90, "y": 0, "flags": 4},
{"matrix": [0, 7], "x": 105, "y": 0, "flags": 4},
{"matrix": [0, 8], "x": 120, "y": 0, "flags": 4},
{"matrix": [0, 9], "x": 143, "y": 0, "flags": 4},
{"matrix": [0, 10], "x": 158, "y": 0, "flags": 4},
{"matrix": [0, 11], "x": 173, "y": 0, "flags": 4},
{"matrix": [0, 12], "x": 188, "y": 0, "flags": 4},
{"matrix": [0, 14], "x": 225, "y": 0, "flags": 4},
{"matrix": [1, 14], "x": 225, "y": 18, "flags": 4},
{"matrix": [1, 13], "x": 203, "y": 18, "flags": 4},
{"matrix": [1, 12], "x": 180, "y": 18, "flags": 4},
{"matrix": [1, 11], "x": 165, "y": 18, "flags": 4},
{"matrix": [1, 10], "x": 150, "y": 18, "flags": 4},
{"matrix": [1, 9], "x": 135, "y": 18, "flags": 4},
{"matrix": [1, 8], "x": 120, "y": 18, "flags": 4},
{"matrix": [1, 7], "x": 105, "y": 18, "flags": 4},
{"matrix": [1, 6], "x": 90, "y": 18, "flags": 4},
{"matrix": [1, 5], "x": 75, "y": 18, "flags": 4},
{"matrix": [1, 4], "x": 60, "y": 18, "flags": 4},
{"matrix": [1, 3], "x": 45, "y": 18, "flags": 4},
{"matrix": [1, 2], "x": 30, "y": 18, "flags": 4},
{"matrix": [1, 1], "x": 15, "y": 18, "flags": 4},
{"matrix": [1, 0], "x": 0, "y": 18, "flags": 4},
{"matrix": [2, 0], "x": 4, "y": 30, "flags": 4},
{"matrix": [2, 1], "x": 19, "y": 30, "flags": 4},
{"matrix": [2, 2], "x": 34, "y": 30, "flags": 4},
{"matrix": [2, 3], "x": 49, "y": 30, "flags": 4},
{"matrix": [2, 4], "x": 64, "y": 30, "flags": 4},
{"matrix": [2, 5], "x": 79, "y": 30, "flags": 4},
{"matrix": [2, 6], "x": 84, "y": 30, "flags": 4},
{"matrix": [2, 7], "x": 99, "y": 30, "flags": 4},
{"matrix": [2, 8], "x": 114, "y": 30, "flags": 4},
{"matrix": [2, 9], "x": 129, "y": 30, "flags": 4},
{"matrix": [2, 10], "x": 144, "y": 30, "flags": 4},
{"matrix": [2, 11], "x": 159, "y": 30, "flags": 4},
{"matrix": [2, 12], "x": 174, "y": 30, "flags": 4},
{"matrix": [2, 13], "x": 219, "y": 30, "flags": 4},
{"matrix": [2, 14], "x": 225, "y": 30, "flags": 4},
{"matrix": [3, 14], "x": 225, "y": 41, "flags": 4},
{"matrix": [3, 12], "x": 201, "y": 41, "flags": 4},
{"matrix": [3, 11], "x": 191, "y": 41, "flags": 4},
{"matrix": [3, 10], "x": 161, "y": 41, "flags": 4},
{"matrix": [3, 9], "x": 146, "y": 41, "flags": 4},
{"matrix": [3, 8], "x": 131, "y": 41, "flags": 4},
{"matrix": [3, 7], "x": 116, "y": 41, "flags": 4},
{"matrix": [3, 6], "x": 101, "y": 41, "flags": 4},
{"matrix": [3, 5], "x": 86, "y": 41, "flags": 4},
{"matrix": [3, 4], "x": 71, "y": 41, "flags": 4},
{"matrix": [3, 3], "x": 56, "y": 41, "flags": 4},
{"matrix": [3, 2], "x": 41, "y": 41, "flags": 4},
{"matrix": [3, 1], "x": 26, "y": 41, "flags": 4},
{"matrix": [3, 0], "x": 6, "y": 41, "flags": 4},
{"matrix": [4, 0], "x": 13, "y": 52, "flags": 4},
{"matrix": [4, 1], "x": 34, "y": 52, "flags": 4},
{"matrix": [4, 2], "x": 49, "y": 52, "flags": 4},
{"matrix": [4, 3], "x": 64, "y": 52, "flags": 4},
{"matrix": [4, 4], "x": 79, "y": 52, "flags": 4},
{"matrix": [4, 5], "x": 94, "y": 52, "flags": 4},
{"matrix": [4, 6], "x": 109, "y": 52, "flags": 4},
{"matrix": [4, 7], "x": 124, "y": 52, "flags": 4},
{"matrix": [4, 8], "x": 139, "y": 52, "flags": 4},
{"matrix": [4, 9], "x": 154, "y": 52, "flags": 4},
{"matrix": [4, 10], "x": 169, "y": 52, "flags": 4},
{"matrix": [4, 11], "x": 189, "y": 52, "flags": 4},
{"matrix": [4, 13], "x": 210, "y": 52, "flags": 4},
{"matrix": [4, 14], "x": 225, "y": 52, "flags": 4},
{"matrix": [5, 14], "x": 225, "y": 64, "flags": 4},
{"matrix": [5, 13], "x": 210, "y": 64, "flags": 4},
{"matrix": [5, 11], "x": 195, "y": 64, "flags": 4},
{"matrix": [5, 9], "x": 186, "y": 64, "flags": 4},
{"matrix": [5, 8], "x": 167, "y": 64, "flags": 4},
{"matrix": [5, 5], "x": 94, "y": 64, "flags": 4},
{"matrix": [5, 2], "x": 39, "y": 64, "flags": 4},
{"matrix": [5, 1], "x": 21, "y": 64, "flags": 4},
{"matrix": [5, 0], "x": 2, "y": 64, "flags": 4}
]
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "E6", "F0", "D0", "D1", "D4", "D6", "D7", "B4", "B5", "B6", "C6"],

View File

@@ -1,12 +0,0 @@
# Build Options
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
NO_USB_STARTUP_CHECK = yes