summaryrefslogtreecommitdiff
path: root/keyboards/bajjak
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-04-11 14:21:32 -0700
committerGitHub <noreply@github.com>2024-04-11 14:21:32 -0700
commitcb81913d18fd567cb2dbadcd9a5c5c767f75ba60 (patch)
tree35e62d69a2b1e79d41bff00d074057da46b60d10 /keyboards/bajjak
parenta532d1cc5a785da3d73812330aad95555efb81fa (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/bajjak')
-rw-r--r--keyboards/bajjak/config.h5
-rw-r--r--keyboards/bajjak/info.json15
-rw-r--r--keyboards/bajjak/rules.mk15
3 files changed, 15 insertions, 20 deletions
diff --git a/keyboards/bajjak/config.h b/keyboards/bajjak/config.h
index 72d296bca4..455588fb08 100644
--- a/keyboards/bajjak/config.h
+++ b/keyboards/bajjak/config.h
@@ -43,11 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
43#define MOUSEKEY_MAX_SPEED 7 43#define MOUSEKEY_MAX_SPEED 7
44#define MOUSEKEY_WHEEL_DELAY 0 44#define MOUSEKEY_WHEEL_DELAY 0
45 45
46/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47#define LOCKING_SUPPORT_ENABLE
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
50
51/* key combination for command */ 46/* key combination for command */
52#define IS_COMMAND() ( \ 47#define IS_COMMAND() ( \
53 get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ 48 get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
diff --git a/keyboards/bajjak/info.json b/keyboards/bajjak/info.json
index bf090bb7d6..a4ab7298ee 100644
--- a/keyboards/bajjak/info.json
+++ b/keyboards/bajjak/info.json
@@ -8,6 +8,21 @@
8 "pid": "0x0002", 8 "pid": "0x0002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "features": {
12 "bootmagic": false,
13 "mousekey": true,
14 "extrakey": true,
15 "command": true,
16 "nkro": true,
17 "unicode": true,
18 "swap_hands": true
19 },
20 "qmk": {
21 "locking": {
22 "enabled": true,
23 "resync": true
24 }
25 },
11 "processor": "atmega32u4", 26 "processor": "atmega32u4",
12 "bootloader": "halfkay", 27 "bootloader": "halfkay",
13 "tapping": { 28 "tapping": {
diff --git a/keyboards/bajjak/rules.mk b/keyboards/bajjak/rules.mk
index 21db4112e0..08caba6edc 100644
--- a/keyboards/bajjak/rules.mk
+++ b/keyboards/bajjak/rules.mk
@@ -3,22 +3,7 @@
3# details), include the following define: 3# details), include the following define:
4OPT_DEFS += -DLEFT_LEDS 4OPT_DEFS += -DLEFT_LEDS
5 5
6# Build Options
7# change yes to no to disable
8#
9BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
10MOUSEKEY_ENABLE = yes # Mouse keys
11EXTRAKEY_ENABLE = yes # Audio control and System control
12CONSOLE_ENABLE = no # Console for debug
13COMMAND_ENABLE = yes # Commands for debug and configuration
14NKRO_ENABLE = yes # Enable N-Key Rollover
15BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
16RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
17AUDIO_ENABLE = no # Audio output
18
19CUSTOM_MATRIX = lite # Custom matrix file for the BAJJAK 6CUSTOM_MATRIX = lite # Custom matrix file for the BAJJAK
20UNICODE_ENABLE = yes # Unicode
21SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
22 7
23# Disable unsupported hardware 8# Disable unsupported hardware
24BACKLIGHT_SUPPORTED = no 9BACKLIGHT_SUPPORTED = no