summaryrefslogtreecommitdiff
path: root/keyboards/clawsome/luggage_rack
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/clawsome/luggage_rack')
-rw-r--r--keyboards/clawsome/luggage_rack/config.h33
-rw-r--r--keyboards/clawsome/luggage_rack/info.json35
-rw-r--r--keyboards/clawsome/luggage_rack/luggage_rack.c17
-rw-r--r--keyboards/clawsome/luggage_rack/luggage_rack.h38
4 files changed, 22 insertions, 101 deletions
diff --git a/keyboards/clawsome/luggage_rack/config.h b/keyboards/clawsome/luggage_rack/config.h
deleted file mode 100644
index b6df355827..0000000000
--- a/keyboards/clawsome/luggage_rack/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright 2021 AAClawson (AlisGraveNil)
- *
- * 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
-
-
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { D3, F4, B0, B2, F7, B6, B1, F5, F6 }
-#define MATRIX_COL_PINS { D4, D0, D1 }
-
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/clawsome/luggage_rack/info.json b/keyboards/clawsome/luggage_rack/info.json
index e903890122..5996c9d8f4 100644
--- a/keyboards/clawsome/luggage_rack/info.json
+++ b/keyboards/clawsome/luggage_rack/info.json
@@ -8,24 +8,33 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D4", "D0", "D1"],
+ "rows": ["D3", "F4", "B0", "B2", "F7", "B6", "B1", "F5", "F6"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"K00 (D3,D4)", "x":0, "y":0},
- {"label":"K11 (F4,D0)", "x":1, "y":0},
- {"label":"K02 (D3,D1)", "x":2, "y":0},
- {"label":"K20 (B0,D4)", "x":0, "y":1.5},
- {"label":"K31 (B2,D0)", "x":1, "y":1.5},
- {"label":"K22 (B0,D1)", "x":2, "y":1.5},
- {"label":"K40 (F7,D4)", "x":0, "y":2.5},
- {"label":"K51 (B6,D0)", "x":1, "y":2.5},
- {"label":"K42 (F7,D1)", "x":2, "y":2.5},
- {"label":"K61 (B1,D0)", "x":1, "y":4.5},
- {"label":"K70 (F5,D4)", "x":0, "y":5.5},
- {"label":"K81 (F6,D0)", "x":1, "y":5.5},
- {"label":"K72 (F5,D1)", "x":2, "y":5.5}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+
+ {"matrix": [2, 0], "x": 0, "y": 1.5},
+ {"matrix": [3, 1], "x": 1, "y": 1.5},
+ {"matrix": [2, 2], "x": 2, "y": 1.5},
+
+ {"matrix": [4, 0], "x": 0, "y": 2.5},
+ {"matrix": [5, 1], "x": 1, "y": 2.5},
+ {"matrix": [4, 2], "x": 2, "y": 2.5},
+
+ {"matrix": [6, 1], "x": 1, "y": 4.5},
+
+ {"matrix": [7, 0], "x": 0, "y": 5.5},
+ {"matrix": [8, 1], "x": 1, "y": 5.5},
+ {"matrix": [7, 2], "x": 2, "y": 5.5}
]
}
}
diff --git a/keyboards/clawsome/luggage_rack/luggage_rack.c b/keyboards/clawsome/luggage_rack/luggage_rack.c
deleted file mode 100644
index 3a49c797d0..0000000000
--- a/keyboards/clawsome/luggage_rack/luggage_rack.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 AAClawson (AlisGraveNil)
- *
- * 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/>.
- */
-
-#include "luggage_rack.h"
diff --git a/keyboards/clawsome/luggage_rack/luggage_rack.h b/keyboards/clawsome/luggage_rack/luggage_rack.h
deleted file mode 100644
index 20c4947bd2..0000000000
--- a/keyboards/clawsome/luggage_rack/luggage_rack.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2021 AAClawson (AlisGraveNil)
- *
- * 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
-
-#include "quantum.h"
-
-#define LAYOUT( \
- K00, K11, K02, \
- K20, K31, K22, \
- K40, K51, K42, \
- \
- K61, \
- K70, K81, K72 \
-) { \
- { K00, KC_NO, K02 }, \
- { KC_NO, K11, KC_NO }, \
- { K20, KC_NO, K22 }, \
- { KC_NO, K31, KC_NO }, \
- { K40, KC_NO, K42 }, \
- { KC_NO, K51, KC_NO }, \
- { KC_NO, K61, KC_NO }, \
- { K70, KC_NO, K72 }, \
- { KC_NO, K81, KC_NO }, \
-}