aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tada68
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-15 19:19:23 +0100
committerGitHub <[email protected]>2024-04-15 19:19:23 +0100
commit9c1662f8f9f28d185ccf0ce1dee084934c896367 (patch)
tree97b018f9117102d164564b9a7ad6341739cd9c47 /keyboards/tada68
parent2e01b67ecc4e36668098cb1bc4a5b63976d4c94d (diff)
downloadqmk_firmware-9c1662f8f9f28d185ccf0ce1dee084934c896367.tar.gz
qmk_firmware-9c1662f8f9f28d185ccf0ce1dee084934c896367.zip
Migrate build target markers to keyboard.json - TUV (#23514)
Diffstat (limited to 'keyboards/tada68')
-rwxr-xr-xkeyboards/tada68/config.h39
-rw-r--r--keyboards/tada68/keyboard.json (renamed from keyboards/tada68/info.json)14
-rwxr-xr-xkeyboards/tada68/keymaps/rgb/config.h2
-rw-r--r--keyboards/tada68/keymaps/rgb/rules.mk17
-rwxr-xr-xkeyboards/tada68/rules.mk13
5 files changed, 15 insertions, 70 deletions
diff --git a/keyboards/tada68/config.h b/keyboards/tada68/config.h
deleted file mode 100755
index b9449c4714..0000000000
--- a/keyboards/tada68/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2012 Jun Wako <[email protected]>
-
-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/tada68/info.json b/keyboards/tada68/keyboard.json
index 1311017d36..641def01a3 100644
--- a/keyboards/tada68/info.json
+++ b/keyboards/tada68/keyboard.json
@@ -8,6 +8,20 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": false,
+ "command": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"],
"rows": ["D0", "D1", "F6", "F7", "D5"]
diff --git a/keyboards/tada68/keymaps/rgb/config.h b/keyboards/tada68/keymaps/rgb/config.h
index 21ddfa1850..363a41accd 100755
--- a/keyboards/tada68/keymaps/rgb/config.h
+++ b/keyboards/tada68/keymaps/rgb/config.h
@@ -1,4 +1,4 @@
-#include "../../config.h"
+#pragma once
/* WS2812B RGB Underglow LED */
#define WS2812_DI_PIN F5 // See readme.md for wiring your led's
diff --git a/keyboards/tada68/keymaps/rgb/rules.mk b/keyboards/tada68/keymaps/rgb/rules.mk
index 7cffca44fa..c777cb1b9f 100644
--- a/keyboards/tada68/keymaps/rgb/rules.mk
+++ b/keyboards/tada68/keymaps/rgb/rules.mk
@@ -1,18 +1 @@
-# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
-# the appropriate keymap folder that will get included automatically
-#
-BOOTMAGIC_ENABLE = no # 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 # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = no # Audio output on port C6
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-
diff --git a/keyboards/tada68/rules.mk b/keyboards/tada68/rules.mk
index 01310bd4ea..e22d524889 100755
--- a/keyboards/tada68/rules.mk
+++ b/keyboards/tada68/rules.mk
@@ -1,15 +1,2 @@
# This board uses the older unsafe 6k version of lufa-ms
BOOTLOADER_SIZE = 6144
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output