summaryrefslogtreecommitdiff
path: root/keyboards/nightly_boards/alter_lite
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nightly_boards/alter_lite')
-rw-r--r--keyboards/nightly_boards/alter_lite/config.h16
-rw-r--r--keyboards/nightly_boards/alter_lite/info.json156
2 files changed, 83 insertions, 89 deletions
diff --git a/keyboards/nightly_boards/alter_lite/config.h b/keyboards/nightly_boards/alter_lite/config.h
index ee04e0a75e..e462b35b07 100644
--- a/keyboards/nightly_boards/alter_lite/config.h
+++ b/keyboards/nightly_boards/alter_lite/config.h
@@ -14,22 +14,6 @@ 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 { F0, F1, D3, D5, B5 }
-#define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D0, D1, D2, E6, B6, C6, C7, F7, F6, F5, F4 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/nightly_boards/alter_lite/info.json b/keyboards/nightly_boards/alter_lite/info.json
index d76a278a75..10f3c03843 100644
--- a/keyboards/nightly_boards/alter_lite/info.json
+++ b/keyboards/nightly_boards/alter_lite/info.json
@@ -4,87 +4,97 @@
"url": "",
"maintainer": "DeskDaily",
"usb": {
- "vid": "0xD812",
- "pid": "0x0013",
- "device_version": "0.0.1"
+ "vid": "0xD812",
+ "pid": "0x0013",
+ "device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "E6", "B6", "C6", "C7", "F7", "F6", "F5", "F4"],
+ "rows": ["F0", "F1", "D3", "D5", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
- "caps_lock": "D7",
- "num_lock": "D6",
- "scroll_lock": "D4",
- "on_state": 0
+ "caps_lock": "D7",
+ "num_lock": "D6",
+ "scroll_lock": "D4",
+ "on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0.5, "y":0.15},
- {"x":1.75, "y":0.25},
- {"x":2.75, "y":0.25},
- {"x":3.75, "y":0.25},
- {"x":4.75, "y":0.25},
- {"x":5.75, "y":0.25},
- {"x":6.75, "y":0.25},
- {"x":7.75, "y":0.25},
- {"x":11.25, "y":0.25},
- {"x":12.25, "y":0.25},
- {"x":13.25, "y":0.25},
- {"x":14.25, "y":0.25},
- {"x":15.25, "y":0.25},
- {"x":16.25, "y":0.25},
- {"x":17.25, "y":0.25},
- {"x":18.25, "y":0.25},
- {"x":0.25, "y":1.15},
- {"x":1.5, "y":1.25, "w":1.5},
- {"x":3, "y":1.25},
- {"x":4.25, "y":1.25},
- {"x":5.25, "y":1.25},
- {"x":6.25, "y":1.25},
- {"x":7.25, "y":1.25},
- {"x":10.75, "y":1.25},
- {"x":11.75, "y":1.25},
- {"x":12.75, "y":1.25},
- {"x":13.75, "y":1.25},
- {"x":15, "y":1.25},
- {"x":16, "y":1.25},
- {"x":17, "y":1.25},
- {"x":18, "y":1.25, "w":1.5},
- {"x":0, "y":2.15},
- {"x":1.25, "y":2.25, "w":1.75},
- {"x":3, "y":2.25},
- {"x":4.5, "y":2.25},
- {"x":5.5, "y":2.25},
- {"x":6.5, "y":2.25},
- {"x":7.5, "y":2.25},
- {"x":11, "y":2.25},
- {"x":12, "y":2.25},
- {"x":13, "y":2.25},
- {"x":14, "y":2.25},
- {"x":15.5, "y":2.25},
- {"x":16.5, "y":2.25},
- {"x":17.5, "y":2.25, "w":2.25},
- {"x":1, "y":3.25, "w":2.25},
- {"x":3.25, "y":3.25},
- {"x":5, "y":3.25},
- {"x":6, "y":3.25},
- {"x":7, "y":3.25},
- {"x":8, "y":3.25},
- {"x":10.5, "y":3.25},
- {"x":11.5, "y":3.25},
- {"x":12.5, "y":3.25},
- {"x":13.5, "y":3.25},
- {"x":15.25, "y":3.25},
- {"x":16.25, "y":3.25},
- {"x":17.25, "y":3.25, "w":1.75},
- {"x":19, "y":3.25},
- {"x":1, "y":4.25, "w":1.5},
- {"x":4.75, "y":4.25, "w":1.5},
- {"x":6.25, "y":4.25, "w":2},
- {"x":8.25, "y":4.25, "w":1.25},
- {"x":10.5, "y":4.25, "w":2.75},
- {"x":13.25, "y":4.25, "w":1.5},
- {"x":18.25, "y":4.25, "w":1.5}]
+ {"x":0.5, "y":0},
+ {"x":1.75, "y":0.1},
+ {"x":2.75, "y":0.1},
+ {"x":3.75, "y":0.1},
+ {"x":4.75, "y":0.1},
+ {"x":5.75, "y":0.1},
+ {"x":6.75, "y":0.1},
+ {"x":7.75, "y":0.1},
+ {"x":11.25, "y":0.1},
+ {"x":12.25, "y":0.1},
+ {"x":13.25, "y":0.1},
+ {"x":14.25, "y":0.1},
+ {"x":15.25, "y":0.1},
+ {"x":16.25, "y":0.1},
+ {"x":17.25, "y":0.1},
+ {"x":18.25, "y":0.1},
+
+ {"x":0.25, "y":1},
+ {"x":1.5, "y":1.1, "w":1.5},
+ {"x":3, "y":1.1},
+ {"x":4.25, "y":1.1},
+ {"x":5.25, "y":1.1},
+ {"x":6.25, "y":1.1},
+ {"x":7.25, "y":1.1},
+ {"x":10.75, "y":1.1},
+ {"x":11.75, "y":1.1},
+ {"x":12.75, "y":1.1},
+ {"x":13.75, "y":1.1},
+ {"x":15, "y":1.1},
+ {"x":16, "y":1.1},
+ {"x":17, "y":1.1},
+ {"x":18, "y":1.1, "w":1.5},
+
+ {"x":0, "y":2},
+ {"x":1.25, "y":2.1, "w":1.75},
+ {"x":3, "y":2.1},
+ {"x":4.5, "y":2.1},
+ {"x":5.5, "y":2.1},
+ {"x":6.5, "y":2.1},
+ {"x":7.5, "y":2.1},
+ {"x":11, "y":2.1},
+ {"x":12, "y":2.1},
+ {"x":13, "y":2.1},
+ {"x":14, "y":2.1},
+ {"x":15.5, "y":2.1},
+ {"x":16.5, "y":2.1},
+ {"x":17.5, "y":2.1, "w":2.25},
+
+ {"x":1, "y":3.1, "w":2.25},
+ {"x":3.25, "y":3.1},
+ {"x":5, "y":3.1},
+ {"x":6, "y":3.1},
+ {"x":7, "y":3.1},
+ {"x":8, "y":3.1},
+ {"x":10.5, "y":3.1},
+ {"x":11.5, "y":3.1},
+ {"x":12.5, "y":3.1},
+ {"x":13.5, "y":3.1},
+ {"x":15.25, "y":3.1},
+ {"x":16.25, "y":3.1},
+ {"x":17.25, "y":3.1, "w":1.75},
+ {"x":19, "y":3.1},
+
+ {"x":1, "y":4.1, "w":1.5},
+ {"x":4.75, "y":4.1, "w":1.5},
+ {"x":6.25, "y":4.1, "w":2},
+ {"x":8.25, "y":4.1, "w":1.25},
+ {"x":10.5, "y":4.1, "w":2.75},
+ {"x":13.25, "y":4.1, "w":1.5},
+ {"x":18.25, "y":4.1, "w":1.5}
+ ]
}
}
}