aboutsummaryrefslogtreecommitdiff
path: root/keyboards/al1
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-04-02 09:45:44 -0700
committerGitHub <noreply@github.com>2024-04-02 17:45:44 +0100
commit63bc7b63a650c4da63611900437e06ea7d051f14 (patch)
tree95abb45a74f61457e2e268f68e61340b52ae1589 /keyboards/al1
parent38f7c6e3f386b92df744bd7dbd13284398e373d5 (diff)
downloadqmk_firmware-63bc7b63a650c4da63611900437e06ea7d051f14.tar.gz
qmk_firmware-63bc7b63a650c4da63611900437e06ea7d051f14.zip
Data-Driven Keyboard Conversions: A (#23379)
Diffstat (limited to 'keyboards/al1')
-rw-r--r--keyboards/al1/config.h5
-rw-r--r--keyboards/al1/info.json14
-rw-r--r--keyboards/al1/rules.mk13
3 files changed, 14 insertions, 18 deletions
diff --git a/keyboards/al1/config.h b/keyboards/al1/config.h
index 32c7bcbd2a..e864567cec 100644
--- a/keyboards/al1/config.h
+++ b/keyboards/al1/config.h
@@ -27,11 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
#define SN74X154_E1_PIN D3
-/* 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.
diff --git a/keyboards/al1/info.json b/keyboards/al1/info.json
index 6051163dc7..7e6440560f 100644
--- a/keyboards/al1/info.json
+++ b/keyboards/al1/info.json
@@ -8,6 +8,20 @@
"pid": "0x6050",
"device_version": "1.0.4"
},
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "command": true,
+ "backlight": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"backlight": {
"pin": "B6",
"breathing": true
diff --git a/keyboards/al1/rules.mk b/keyboards/al1/rules.mk
index ca917bc548..73713d8a3f 100644
--- a/keyboards/al1/rules.mk
+++ b/keyboards/al1/rules.mk
@@ -1,16 +1,3 @@
-# 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 = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
CUSTOM_MATRIX = lite
VPATH += drivers/gpio
SRC += matrix.c sn74x154.c