summaryrefslogtreecommitdiff
path: root/keyboards/ferris/sweep
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2023-03-13 13:33:31 +0800
committerGitHub <noreply@github.com>2023-03-12 23:33:31 -0600
commite0bd6fac10883fdce7d7c5b0c47fe454c9f2f0aa (patch)
tree30be017e63f6b09af0dd1dd7b838528501252fdb /keyboards/ferris/sweep
parenta5e7390419a23c6db9cb62810f8ff1645d20b6a3 (diff)
Move Ferris Sweep to data-driven (#20111)
Diffstat (limited to 'keyboards/ferris/sweep')
-rw-r--r--keyboards/ferris/sweep/config.h23
-rw-r--r--keyboards/ferris/sweep/info.json10
-rw-r--r--keyboards/ferris/sweep/rules.mk15
-rw-r--r--keyboards/ferris/sweep/sweep.c21
4 files changed, 20 insertions, 49 deletions
diff --git a/keyboards/ferris/sweep/config.h b/keyboards/ferris/sweep/config.h
index a80d5a2824..35cf8d4151 100644
--- a/keyboards/ferris/sweep/config.h
+++ b/keyboards/ferris/sweep/config.h
@@ -1,21 +1,8 @@
-/* Copyright 2018-2020
-ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
-David Philip Barr <@davidphilipbarr>
-Pierre Chevalier <pierrechevalier83@gmail.com>
-
-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/>.
-*/
+// Copyright 2018-2020
+// ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
+// David Philip Barr <@davidphilipbarr>
+// Pierre Chevalier <pierrechevalier83@gmail.com>
+// SPDX-License-Identifier: GPL-2.0+
#pragma once
diff --git a/keyboards/ferris/sweep/info.json b/keyboards/ferris/sweep/info.json
index 3e3eeffe76..567ef16a86 100644
--- a/keyboards/ferris/sweep/info.json
+++ b/keyboards/ferris/sweep/info.json
@@ -6,8 +6,13 @@
"pid": "0x3939",
"device_version": "0.0.1"
},
- "processor": "atmega32u4",
- "bootloader": "caterina",
+ "development_board": "promicro",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "unicode": true
+ },
"matrix_pins": {
"direct": [
["E6", "F7", "F6", "F5", "F4"],
@@ -17,6 +22,7 @@
]
},
"split": {
+ "enabled": true,
"soft_serial_pin": "D2",
"bootmagic": {
"matrix": [4, 4]
diff --git a/keyboards/ferris/sweep/rules.mk b/keyboards/ferris/sweep/rules.mk
index ebc2feb78e..6e7633bfe0 100644
--- a/keyboards/ferris/sweep/rules.mk
+++ b/keyboards/ferris/sweep/rules.mk
@@ -1,14 +1 @@
-# 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 = no # Enable keyboard RGB underglow
-UNICODE_ENABLE = yes # Unicode
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes # Use shared split_common code
+# This file intentionally left blank
diff --git a/keyboards/ferris/sweep/sweep.c b/keyboards/ferris/sweep/sweep.c
index 0d63f80cc1..e4d831f914 100644
--- a/keyboards/ferris/sweep/sweep.c
+++ b/keyboards/ferris/sweep/sweep.c
@@ -1,18 +1,9 @@
-/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
- *
- * 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/>.
- */
+// Copyright 2018-2020
+// ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
+// David Philip Barr <@davidphilipbarr>
+// Pierre Chevalier <pierrechevalier83@gmail.com>
+// SPDX-License-Identifier: GPL-2.0+
+
#include "quantum.h"
#ifdef SWAP_HANDS_ENABLE