aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tkc
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tkc')
-rw-r--r--keyboards/tkc/california/keyboard.json (renamed from keyboards/tkc/california/info.json)9
-rw-r--r--keyboards/tkc/california/rules.mk12
-rw-r--r--keyboards/tkc/candybar/lefty/keyboard.json (renamed from keyboards/tkc/candybar/lefty/info.json)11
-rw-r--r--keyboards/tkc/candybar/lefty/rules.mk15
-rw-r--r--keyboards/tkc/candybar/lefty_r3/keyboard.json (renamed from keyboards/tkc/candybar/lefty_r3/info.json)11
-rw-r--r--keyboards/tkc/candybar/lefty_r3/rules.mk13
-rw-r--r--keyboards/tkc/candybar/righty/keyboard.json (renamed from keyboards/tkc/candybar/righty/info.json)11
-rw-r--r--keyboards/tkc/candybar/righty/rules.mk15
-rw-r--r--keyboards/tkc/candybar/righty_r3/keyboard.json (renamed from keyboards/tkc/candybar/righty_r3/info.json)11
-rw-r--r--keyboards/tkc/candybar/righty_r3/rules.mk13
-rw-r--r--keyboards/tkc/godspeed75/keyboard.json (renamed from keyboards/tkc/godspeed75/info.json)9
-rw-r--r--keyboards/tkc/godspeed75/rules.mk13
-rw-r--r--keyboards/tkc/m0lly/keyboard.json (renamed from keyboards/tkc/m0lly/info.json)11
-rw-r--r--keyboards/tkc/m0lly/m0lly.c8
-rw-r--r--keyboards/tkc/m0lly/rules.mk13
-rw-r--r--keyboards/tkc/osav2/keyboard.json (renamed from keyboards/tkc/osav2/info.json)13
-rw-r--r--keyboards/tkc/osav2/osav2.c12
-rw-r--r--keyboards/tkc/osav2/rules.mk13
-rw-r--r--keyboards/tkc/portico/keyboard.json (renamed from keyboards/tkc/portico/info.json)7
-rw-r--r--keyboards/tkc/portico/rules.mk16
-rw-r--r--keyboards/tkc/portico68v2/keyboard.json (renamed from keyboards/tkc/portico68v2/info.json)12
-rw-r--r--keyboards/tkc/portico68v2/rules.mk14
-rw-r--r--keyboards/tkc/portico75/keyboard.json (renamed from keyboards/tkc/portico75/info.json)9
-rw-r--r--keyboards/tkc/portico75/keymaps/via/rules.mk1
-rw-r--r--keyboards/tkc/portico75/rules.mk15
-rw-r--r--keyboards/tkc/tkc1800/keyboard.json (renamed from keyboards/tkc/tkc1800/info.json)11
-rw-r--r--keyboards/tkc/tkc1800/rules.mk13
-rw-r--r--keyboards/tkc/tkc1800/tkc1800.c8
-rw-r--r--keyboards/tkc/tkl_ab87/keyboard.json (renamed from keyboards/tkc/tkl_ab87/info.json)10
-rw-r--r--keyboards/tkc/tkl_ab87/rules.mk12
30 files changed, 151 insertions, 190 deletions
diff --git a/keyboards/tkc/california/info.json b/keyboards/tkc/california/keyboard.json
index 731e65323e..1d52466bba 100644
--- a/keyboards/tkc/california/info.json
+++ b/keyboards/tkc/california/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x0009",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["B5", "B4", "D7", "D6", "F7", "F6", "F5", "D5", "D1", "F4"],
"rows": ["C7", "C6", "B6", "D4", "D3", "D0", "E6", "B0", "B1", "B2", "D2", "B3"]
diff --git a/keyboards/tkc/california/rules.mk b/keyboards/tkc/california/rules.mk
deleted file mode 100644
index b325f3f0c7..0000000000
--- a/keyboards/tkc/california/rules.mk
+++ /dev/null
@@ -1,12 +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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/tkc/candybar/lefty/info.json b/keyboards/tkc/candybar/lefty/keyboard.json
index d1258fafad..fe8814e54b 100644
--- a/keyboards/tkc/candybar/lefty/info.json
+++ b/keyboards/tkc/candybar/lefty/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0003",
"device_version": "0.0.6"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"],
"rows": ["A8", "A9", "A10", "A13"]
diff --git a/keyboards/tkc/candybar/lefty/rules.mk b/keyboards/tkc/candybar/lefty/rules.mk
deleted file mode 100644
index 51c822797a..0000000000
--- a/keyboards/tkc/candybar/lefty/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-LTO_ENABLE = yes
-BACKLIGHT_ENABLE = no
-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
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = no
-
-
diff --git a/keyboards/tkc/candybar/lefty_r3/info.json b/keyboards/tkc/candybar/lefty_r3/keyboard.json
index 77b991a8dc..b09412ffc9 100644
--- a/keyboards/tkc/candybar/lefty_r3/info.json
+++ b/keyboards/tkc/candybar/lefty_r3/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0003",
"device_version": "0.0.6"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "D5", "B3", "B0", "B1", "B2", "D4", "D6", "D7", "B4"],
"rows": ["F1", "F0", "D0", "D2"]
diff --git a/keyboards/tkc/candybar/lefty_r3/rules.mk b/keyboards/tkc/candybar/lefty_r3/rules.mk
deleted file mode 100644
index 92e817504f..0000000000
--- a/keyboards/tkc/candybar/lefty_r3/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
diff --git a/keyboards/tkc/candybar/righty/info.json b/keyboards/tkc/candybar/righty/keyboard.json
index 9cfb7d884b..f529ac936f 100644
--- a/keyboards/tkc/candybar/righty/info.json
+++ b/keyboards/tkc/candybar/righty/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0002",
"device_version": "0.0.6"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"],
"rows": ["A8", "A9", "A10", "A13"]
diff --git a/keyboards/tkc/candybar/righty/rules.mk b/keyboards/tkc/candybar/righty/rules.mk
deleted file mode 100644
index 51c822797a..0000000000
--- a/keyboards/tkc/candybar/righty/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-LTO_ENABLE = yes
-BACKLIGHT_ENABLE = no
-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
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = no
-
-
diff --git a/keyboards/tkc/candybar/righty_r3/info.json b/keyboards/tkc/candybar/righty_r3/keyboard.json
index 8fb72e1635..8064672583 100644
--- a/keyboards/tkc/candybar/righty_r3/info.json
+++ b/keyboards/tkc/candybar/righty_r3/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0002",
"device_version": "0.0.6"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D5", "B1", "B3", "B2", "B0", "F0", "F1", "F4", "F5"],
"rows": ["F6", "F7", "D0", "D2"]
diff --git a/keyboards/tkc/candybar/righty_r3/rules.mk b/keyboards/tkc/candybar/righty_r3/rules.mk
deleted file mode 100644
index 92e817504f..0000000000
--- a/keyboards/tkc/candybar/righty_r3/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
diff --git a/keyboards/tkc/godspeed75/info.json b/keyboards/tkc/godspeed75/keyboard.json
index 4776a9bab8..48cf06f3ca 100644
--- a/keyboards/tkc/godspeed75/info.json
+++ b/keyboards/tkc/godspeed75/keyboard.json
@@ -26,6 +26,15 @@
"ws2812": {
"pin": "A13"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "B12", "B13", "B14", "B15", "A8"],
"rows": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "A9", "A10"]
diff --git a/keyboards/tkc/godspeed75/rules.mk b/keyboards/tkc/godspeed75/rules.mk
deleted file mode 100644
index 0098dc473a..0000000000
--- a/keyboards/tkc/godspeed75/rules.mk
+++ /dev/null
@@ -1,13 +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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
diff --git a/keyboards/tkc/m0lly/info.json b/keyboards/tkc/m0lly/keyboard.json
index 462bc0f27b..e37b9e7bb2 100644
--- a/keyboards/tkc/m0lly/info.json
+++ b/keyboards/tkc/m0lly/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "F5", "F6", "F7"],
"rows": ["F2", "F1", "F0", "E1", "E0"]
diff --git a/keyboards/tkc/m0lly/m0lly.c b/keyboards/tkc/m0lly/m0lly.c
index 2f76952b1f..ceb03e4543 100644
--- a/keyboards/tkc/m0lly/m0lly.c
+++ b/keyboards/tkc/m0lly/m0lly.c
@@ -17,11 +17,11 @@
#include "quantum.h"
void keyboard_pre_init_kb(void) {
- setPinInputHigh(D0);
- setPinInputHigh(D1);
+ gpio_set_pin_input_high(D0);
+ gpio_set_pin_input_high(D1);
- setPinOutput(B7);
- writePinHigh(B7);
+ gpio_set_pin_output(B7);
+ gpio_write_pin_high(B7);
keyboard_pre_init_user();
}
diff --git a/keyboards/tkc/m0lly/rules.mk b/keyboards/tkc/m0lly/rules.mk
deleted file mode 100644
index 6d915f6d41..0000000000
--- a/keyboards/tkc/m0lly/rules.mk
+++ /dev/null
@@ -1,13 +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 = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-OLED_ENABLE = yes
diff --git a/keyboards/tkc/osav2/info.json b/keyboards/tkc/osav2/keyboard.json
index cc878e14f4..118eedfc85 100644
--- a/keyboards/tkc/osav2/info.json
+++ b/keyboards/tkc/osav2/keyboard.json
@@ -27,6 +27,19 @@
"ws2812": {
"pin": "D4"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["B4", "D7", "D5", "D3", "D2", "D0", "D1", "B5"],
"rows": ["F0", "F1", "F4", "F5", "F6", "B0", "B1", "B2", "B3", "B7"]
diff --git a/keyboards/tkc/osav2/osav2.c b/keyboards/tkc/osav2/osav2.c
index 51f4ac0e04..9966046486 100644
--- a/keyboards/tkc/osav2/osav2.c
+++ b/keyboards/tkc/osav2/osav2.c
@@ -16,18 +16,18 @@
#include "quantum.h"
void keyboard_pre_init_kb(void) {
- setPinOutput(C7);
- setPinOutput(C6);
- setPinOutput(B6);
+ gpio_set_pin_output(C7);
+ gpio_set_pin_output(C6);
+ gpio_set_pin_output(B6);
keyboard_pre_init_user();
}
bool led_update_kb(led_t led_state) {
if (led_update_user(led_state)) {
- writePin(C7, led_state.num_lock);
- writePin(C6, led_state.caps_lock);
- writePin(B6, led_state.scroll_lock);
+ gpio_write_pin(C7, led_state.num_lock);
+ gpio_write_pin(C6, led_state.caps_lock);
+ gpio_write_pin(B6, led_state.scroll_lock);
}
return true;
}
diff --git a/keyboards/tkc/osav2/rules.mk b/keyboards/tkc/osav2/rules.mk
deleted file mode 100644
index e98264035d..0000000000
--- a/keyboards/tkc/osav2/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes # Reduces compile size
diff --git a/keyboards/tkc/portico/info.json b/keyboards/tkc/portico/keyboard.json
index 4f908c83e6..29b7d8246b 100644
--- a/keyboards/tkc/portico/info.json
+++ b/keyboards/tkc/portico/keyboard.json
@@ -8,6 +8,13 @@
"pid": "0x0008",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"rgb_matrix": {
"animations": {
"alphas_mods": true,
diff --git a/keyboards/tkc/portico/rules.mk b/keyboards/tkc/portico/rules.mk
index 6bc05372af..4263ceb168 100644
--- a/keyboards/tkc/portico/rules.mk
+++ b/keyboards/tkc/portico/rules.mk
@@ -1,22 +1,8 @@
-# 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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-RGB_MATRIX_ENABLE = no
CIE1931_CURVE = yes
+I2C_DRIVER_REQUIRED = yes
# project specific files
SRC += keyboards/wilba_tech/wt_main.c \
keyboards/wilba_tech/wt_rgb_backlight.c \
quantum/color.c \
drivers/led/issi/is31fl3731.c
-
-I2C_DRIVER_REQUIRED = yes
diff --git a/keyboards/tkc/portico68v2/info.json b/keyboards/tkc/portico68v2/keyboard.json
index 38a94c2c9d..914dee8760 100644
--- a/keyboards/tkc/portico68v2/info.json
+++ b/keyboards/tkc/portico68v2/keyboard.json
@@ -57,6 +57,18 @@
"max_brightness": 175,
"sleep": true
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgb_matrix": true
+ },
"matrix_pins": {
"cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "F6", "F5", "F4", "F1", "B0", "B1", "B2", "B3"],
"rows": ["B6", "C6", "C7", "F7", "D2"]
diff --git a/keyboards/tkc/portico68v2/rules.mk b/keyboards/tkc/portico68v2/rules.mk
deleted file mode 100644
index 82b94419c1..0000000000
--- a/keyboards/tkc/portico68v2/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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes # Compile-time optimizations
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
diff --git a/keyboards/tkc/portico75/info.json b/keyboards/tkc/portico75/keyboard.json
index fa2a24951f..79ead69764 100644
--- a/keyboards/tkc/portico75/info.json
+++ b/keyboards/tkc/portico75/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x0011",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "command": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgb_matrix": true
+ },
"rgb_matrix": {
"animations": {
"alphas_mods": true,
diff --git a/keyboards/tkc/portico75/keymaps/via/rules.mk b/keyboards/tkc/portico75/keymaps/via/rules.mk
index 1706771222..81628aba6b 100644
--- a/keyboards/tkc/portico75/keymaps/via/rules.mk
+++ b/keyboards/tkc/portico75/keymaps/via/rules.mk
@@ -10,3 +10,4 @@ SRC += keyboards/wilba_tech/wt_main.c \
drivers/led/issi/is31fl3741.c
I2C_DRIVER_REQUIRED = yes
+CIE1931_CURVE = yes
diff --git a/keyboards/tkc/portico75/rules.mk b/keyboards/tkc/portico75/rules.mk
deleted file mode 100644
index 36e22b992d..0000000000
--- a/keyboards/tkc/portico75/rules.mk
+++ /dev/null
@@ -1,15 +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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
-CIE1931_CURVE = yes
-ENCODER_ENABLE = yes
diff --git a/keyboards/tkc/tkc1800/info.json b/keyboards/tkc/tkc1800/keyboard.json
index b99d4ca60f..bdc6aa13a7 100644
--- a/keyboards/tkc/tkc1800/info.json
+++ b/keyboards/tkc/tkc1800/keyboard.json
@@ -8,6 +8,17 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "F5", "F6", "F7"],
"rows": ["F4", "F3", "F2", "F1", "F0", "E1", "E0"]
diff --git a/keyboards/tkc/tkc1800/rules.mk b/keyboards/tkc/tkc1800/rules.mk
deleted file mode 100644
index fc74989daf..0000000000
--- a/keyboards/tkc/tkc1800/rules.mk
+++ /dev/null
@@ -1,13 +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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
-AUDIO_ENABLE = no # Audio output
-OLED_ENABLE = yes
diff --git a/keyboards/tkc/tkc1800/tkc1800.c b/keyboards/tkc/tkc1800/tkc1800.c
index b5b4cf0887..815c1d6208 100644
--- a/keyboards/tkc/tkc1800/tkc1800.c
+++ b/keyboards/tkc/tkc1800/tkc1800.c
@@ -16,11 +16,11 @@
#include "quantum.h"
void keyboard_pre_init_kb(void) {
- setPinInputHigh(D0);
- setPinInputHigh(D1);
+ gpio_set_pin_input_high(D0);
+ gpio_set_pin_input_high(D1);
- setPinOutput(B7);
- writePinHigh(B7);
+ gpio_set_pin_output(B7);
+ gpio_write_pin_high(B7);
keyboard_pre_init_user();
}
diff --git a/keyboards/tkc/tkl_ab87/info.json b/keyboards/tkc/tkl_ab87/keyboard.json
index 0d464a2db9..a3583c0d67 100644
--- a/keyboards/tkc/tkl_ab87/info.json
+++ b/keyboards/tkc/tkl_ab87/keyboard.json
@@ -8,6 +8,16 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "E6", "F6", "F4"],
"rows": ["B1", "F5", "F7", "B0", "B2", "B3"]
diff --git a/keyboards/tkc/tkl_ab87/rules.mk b/keyboards/tkc/tkl_ab87/rules.mk
deleted file mode 100644
index 4537738380..0000000000
--- a/keyboards/tkc/tkl_ab87/rules.mk
+++ /dev/null
@@ -1,12 +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 = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output