summaryrefslogtreecommitdiff
path: root/keyboards/fjlabs/swordfish
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-28 07:44:05 +1000
committerGitHub <noreply@github.com>2022-07-27 22:44:05 +0100
commit23f365b6014634bf9f67ed3515853bf8c4372615 (patch)
tree1fb7a86bb2afc70c63e0257fa42f25f24cf6dfd5 /keyboards/fjlabs/swordfish
parent6731712cc14e546e6e6efe1a624fd25a581aa90b (diff)
downloadqmk_firmware-23f365b6014634bf9f67ed3515853bf8c4372615.tar.gz
qmk_firmware-23f365b6014634bf9f67ed3515853bf8c4372615.zip
Move keyboard USB IDs and strings to data driven: F (#17816)
Diffstat (limited to 'keyboards/fjlabs/swordfish')
-rw-r--r--keyboards/fjlabs/swordfish/config.h7
-rw-r--r--keyboards/fjlabs/swordfish/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/fjlabs/swordfish/config.h b/keyboards/fjlabs/swordfish/config.h
index 32bd17c0d1..ad184d17b6 100644
--- a/keyboards/fjlabs/swordfish/config.h
+++ b/keyboards/fjlabs/swordfish/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7074 // FJLaboratories
-#define PRODUCT_ID 0x0024 // Swordfish
-#define DEVICE_VER 0x0001 // Version 1
-#define MANUFACTURER FJLaboratories
-#define PRODUCT Swordfish
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/fjlabs/swordfish/info.json b/keyboards/fjlabs/swordfish/info.json
index 121bf04132..bdb2e3a2c3 100644
--- a/keyboards/fjlabs/swordfish/info.json
+++ b/keyboards/fjlabs/swordfish/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Swordfish PCBs",
+ "keyboard_name": "Swordfish",
+ "manufacturer": "FJLaboratories",
"url": "http://www.fjlaboratories.com/",
"maintainer": "mrnoisytiger",
+ "usb": {
+ "vid": "0x7074",
+ "pid": "0x0024",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_alice_all": {
"layout": [{"x":18.33, "y":0.142}, {"x":2.37, "y":0.27}, {"x":3.37, "y":0.27}, {"x":14.13, "y":0.27}, {"x":15.13, "y":0.27}, {"x":17.13, "y":0.27}, {"x":16.13, "y":0.27}, {"x":18.45, "y":1.142}, {"x":2.24, "y":1.28, "w":1.5}, {"x":3.74, "y":1.28}, {"x":13.75, "y":1.28}, {"x":14.75, "y":1.28}, {"x":15.75, "y":1.28}, {"x":16.75, "y":1.28, "w":1.5}, {"x":18.61, "y":2.142}, {"x":2.1, "y":2.28, "w":1.75}, {"x":3.85, "y":2.28}, {"x":14.16, "y":2.28}, {"x":15.16, "y":2.28}, {"x":16.16, "y":2.28, "w":2.25}, {"x":1.95, "y":3.28, "w":2.25}, {"x":4.2, "y":3.28}, {"x":13.81, "y":3.28}, {"x":14.81, "y":3.28}, {"x":15.81, "y":3.28, "w":1.75}, {"x":17.77, "y":3.48}, {"x":1.95, "y":4.28, "w":1.25}, {"x":3.2, "y":4.28, "w":1.25}, {"x":14.06, "y":4.28, "w":1.25}, {"x":15.31, "y":4.28, "w":1.25}, {"x":16.77, "y":4.475}, {"x":17.77, "y":4.475}, {"x":18.77, "y":4.475}, {"x":0, "y":5.28}, {"x":1, "y":5.28}, {"x":2, "y":5.28}, {"x":3, "y":5.28}, {"x":4, "y":5.28}, {"x":0.5, "y":6.28}, {"x":1.5, "y":6.28}, {"x":2.5, "y":6.28}, {"x":3.5, "y":6.28}, {"x":0.75, "y":7.28}, {"x":1.75, "y":7.28}, {"x":2.75, "y":7.28}, {"x":3.75, "y":7.28}, {"x":1.25, "y":8.28}, {"x":2.25, "y":8.28}, {"x":3.25, "y":8.28}, {"x":4.25, "y":8.28}, {"x":1.25, "y":9.28, "w":1.25}, {"x":2.5, "y":9.28, "w":2.75}, {"x":-4.5, "y":10.08}, {"x":-3.5, "y":10.08}, {"x":-2.5, "y":10.08}, {"x":-1.5, "y":10.08}, {"x":-5.0, "y":11.08}, {"x":-4, "y":11.08}, {"x":-3.0, "y":11.08}, {"x":-2, "y":11.08}, {"x":-4.75, "y":12.08}, {"x":-3.75, "y":12.08}, {"x":-2.75, "y":12.08}, {"x":-1.75, "y":12.08}, {"x":-5.25, "y":13.08}, {"x":-4.25, "y":13.08}, {"x":-3.25, "y":13.08}, {"x":-2.25, "y":13.08}, {"x":-5.25, "y":14.08, "w":2.25}, {"x":-3.0, "y":14.08, "w":1.25}]