aboutsummaryrefslogtreecommitdiff
path: root/keyboards/takashicompany
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-04-15 19:19:23 +0100
committerGitHub <noreply@github.com>2024-04-15 19:19:23 +0100
commit9c1662f8f9f28d185ccf0ce1dee084934c896367 (patch)
tree97b018f9117102d164564b9a7ad6341739cd9c47 /keyboards/takashicompany
parent2e01b67ecc4e36668098cb1bc4a5b63976d4c94d (diff)
Migrate build target markers to keyboard.json - TUV (#23514)
Diffstat (limited to 'keyboards/takashicompany')
-rw-r--r--keyboards/takashicompany/compacx/config.h39
-rw-r--r--keyboards/takashicompany/compacx/keyboard.json (renamed from keyboards/takashicompany/compacx/info.json)17
-rw-r--r--keyboards/takashicompany/compacx/rules.mk14
-rw-r--r--keyboards/takashicompany/spreadwriter/keyboard.json (renamed from keyboards/takashicompany/spreadwriter/info.json)6
-rw-r--r--keyboards/takashicompany/spreadwriter/rules.mk2
5 files changed, 20 insertions, 58 deletions
diff --git a/keyboards/takashicompany/compacx/config.h b/keyboards/takashicompany/compacx/config.h
deleted file mode 100644
index 7b4e38bd96..0000000000
--- a/keyboards/takashicompany/compacx/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 takashicompany
-
-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/takashicompany/compacx/info.json b/keyboards/takashicompany/compacx/keyboard.json
index 08dcbfee54..b4460cce77 100644
--- a/keyboards/takashicompany/compacx/info.json
+++ b/keyboards/takashicompany/compacx/keyboard.json
@@ -8,6 +8,23 @@
"pid": "0x0014",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgblight": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
diff --git a/keyboards/takashicompany/compacx/rules.mk b/keyboards/takashicompany/compacx/rules.mk
deleted file mode 100644
index 25fcdc1a34..0000000000
--- a/keyboards/takashicompany/compacx/rules.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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 = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-LTO_ENABLE = yes
diff --git a/keyboards/takashicompany/spreadwriter/info.json b/keyboards/takashicompany/spreadwriter/keyboard.json
index da5a95b895..2c9fcd1619 100644
--- a/keyboards/takashicompany/spreadwriter/info.json
+++ b/keyboards/takashicompany/spreadwriter/keyboard.json
@@ -6,11 +6,11 @@
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
+ "encoder": true,
"extrakey": true,
"mousekey": true,
- "nkro": true
+ "nkro": true,
+ "rgblight": true
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4", "B5", "D2"],
diff --git a/keyboards/takashicompany/spreadwriter/rules.mk b/keyboards/takashicompany/spreadwriter/rules.mk
deleted file mode 100644
index 248f19320f..0000000000
--- a/keyboards/takashicompany/spreadwriter/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-ENCODER_ENABLE = yes
-RGBLIGHT_ENABLE = yes \ No newline at end of file