summaryrefslogtreecommitdiff
path: root/keyboards/percent
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/percent')
-rw-r--r--keyboards/percent/booster/booster.c16
-rw-r--r--keyboards/percent/booster/booster.h32
-rw-r--r--keyboards/percent/booster/config.h9
-rw-r--r--keyboards/percent/booster/info.json46
-rw-r--r--keyboards/percent/canoe/canoe.c18
-rw-r--r--keyboards/percent/canoe/canoe.h53
-rw-r--r--keyboards/percent/canoe/config.h5
-rw-r--r--keyboards/percent/canoe/info.json161
-rw-r--r--keyboards/percent/canoe/rules.mk1
-rw-r--r--keyboards/percent/canoe_gen2/canoe_gen2.c2
-rw-r--r--keyboards/percent/canoe_gen2/canoe_gen2.h54
-rw-r--r--keyboards/percent/canoe_gen2/config.h10
-rw-r--r--keyboards/percent/canoe_gen2/info.json304
-rw-r--r--keyboards/percent/canoe_gen2/rules.mk1
-rw-r--r--keyboards/percent/skog/config.h4
-rw-r--r--keyboards/percent/skog/info.json113
-rw-r--r--keyboards/percent/skog/rules.mk1
-rw-r--r--keyboards/percent/skog/skog.c20
-rw-r--r--keyboards/percent/skog/skog.h38
-rw-r--r--keyboards/percent/skog_lite/config.h6
-rw-r--r--keyboards/percent/skog_lite/info.json563
-rw-r--r--keyboards/percent/skog_lite/rules.mk1
-rw-r--r--keyboards/percent/skog_lite/skog_lite.c17
-rw-r--r--keyboards/percent/skog_lite/skog_lite.h75
24 files changed, 764 insertions, 786 deletions
diff --git a/keyboards/percent/booster/booster.c b/keyboards/percent/booster/booster.c
deleted file mode 100644
index bbae5d6f4e..0000000000
--- a/keyboards/percent/booster/booster.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2019 MechMerlin
- *
- * 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 "booster.h"
diff --git a/keyboards/percent/booster/booster.h b/keyboards/percent/booster/booster.h
deleted file mode 100644
index be2d2cb12b..0000000000
--- a/keyboards/percent/booster/booster.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Copyright 2019 MechMerlin
- *
- * 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_numpad_5x4( \
- K00, K01, K02, K03, \
- K10, K11, K12, \
- K20, K21, K22, K23, \
- K30, K31, K32, \
- K40, K42, K33 \
-) { \
- { K00, K01, K02, K03 }, \
- { K10, K11, K12, KC_NO }, \
- { K20, K21, K22, K23 }, \
- { K30, K31, K32, K33 }, \
- { K40, KC_NO, K42, KC_NO }, \
-}
diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h
index b452a0dcb6..2cfff5c7bf 100644
--- a/keyboards/percent/booster/config.h
+++ b/keyboards/percent/booster/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 }
-#define MATRIX_COL_PINS { C7, D4, D2, D0 }
-
-#define DIODE_DIRECTION COL2ROW
-
-#define RGB_DI_PIN E2
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
@@ -41,4 +33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#endif
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json
index f92476c9f6..ba8be4a603 100644
--- a/keyboards/percent/booster/info.json
+++ b/keyboards/percent/booster/info.json
@@ -8,32 +8,44 @@
"pid": "0x4253",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C7", "D4", "D2", "D0"],
+ "rows": ["D1", "D6", "D7", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B7"
},
+ "ws2812": {
+ "pin": "E2"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x4"],
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [
- {"label":"K00 (D1,C7)", "x":0, "y":0},
- {"label":"K01 (D1,D4)", "x":1, "y":0},
- {"label":"K02 (D1,D2)", "x":2, "y":0},
- {"label":"K03 (D1,D0)", "x":3, "y":0},
- {"label":"K10 (D6,C7)", "x":0, "y":1},
- {"label":"K11 (D6,D4)", "x":1, "y":1},
- {"label":"K12 (D6,D2)", "x":2, "y":1},
- {"label":"K20 (D7,C7)", "x":0, "y":2},
- {"label":"K21 (D7,D4)", "x":1, "y":2},
- {"label":"K22 (D7,D2)", "x":2, "y":2},
- {"label":"K23 (D7,D0)", "x":3, "y":1, "h":2},
- {"label":"K30 (B4,C7)", "x":0, "y":3},
- {"label":"K31 (B4,D4)", "x":1, "y":3},
- {"label":"K32 (B4,D2)", "x":2, "y":3},
- {"label":"K40 (B5,C7)", "x":0, "y":4, "w":2},
- {"label":"K42 (B5,D2)", "x":2, "y":4},
- {"label":"K33 (B4,D0)", "x":3, "y":3, "h":2}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 1, "h": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4, "w": 2},
+ {"matrix": [4, 2], "x": 2, "y": 4},
+ {"matrix": [3, 3], "x": 3, "y": 3, "h": 2}
]
}
}
diff --git a/keyboards/percent/canoe/canoe.c b/keyboards/percent/canoe/canoe.c
deleted file mode 100644
index 572ff50b01..0000000000
--- a/keyboards/percent/canoe/canoe.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
-Copyright 2017 Luiz Ribeiro <luizribeiro@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/>.
-*/
-
-#include "canoe.h"
diff --git a/keyboards/percent/canoe/canoe.h b/keyboards/percent/canoe/canoe.h
deleted file mode 100644
index 83d7c08bb5..0000000000
--- a/keyboards/percent/canoe/canoe.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Copyright 2017 Luiz Ribeiro <luizribeiro@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/>.
-*/
-
-#pragma once
-
-#include "quantum.h"
-
-#define _x_ KC_NO
-
-#define LAYOUT_65_iso_blocker( \
- K0D, K0C, K0B, K0A, K09, K08, K07, K06, K05, K04, K03, K02, K01, K00, K0E, \
- K1D, K1C, K1B, K1A, K19, K18, K17, K16, K15, K14, K13, K12, K11, K1E, \
- K2D, K2C, K2B, K2A, K29, K28, K27, K26, K25, K24, K23, K22, K10, K21, K2E, \
- K3D, K4A, K3C, K3B, K3A, K39, K38, K37, K36, K35, K34, K33, K32, K30, K3E, \
- K4D, K4C, K4B, K48, K44, K43, K42, K40, K4E \
-){ \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
- { _x_, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
- { K30, _x_, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
- { K40, _x_, K42, K43, K44, _x_, _x_, _x_, K48, _x_, K4A, K4B, K4C, K4D, K4E } \
-}
-
-#define LAYOUT_65_ansi_blocker( \
- K0D, K0C, K0B, K0A, K09, K08, K07, K06, K05, K04, K03, K02, K01, K00, K0E, \
- K1D, K1C, K1B, K1A, K19, K18, K17, K16, K15, K14, K13, K12, K11, K10, K1E, \
- K2D, K2C, K2B, K2A, K29, K28, K27, K26, K25, K24, K23, K22, K21, K2E, \
- K3D, K3C, K3B, K3A, K39, K38, K37, K36, K35, K34, K33, K32, K30, K3E, \
- K4D, K4C, K4B, K48, K44, K43, K42, K40, K4E \
-){ \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
- { _x_, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
- { K30, _x_, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
- { K40, _x_, K42, K43, K44, _x_, _x_, _x_, K48, _x_, _x_, K4B, K4C, K4D, K4E } \
-}
-
-#define LAYOUT LAYOUT_65_ansi_blocker // added to not break existing checked in keymaps
-#define LAYOUT_iso LAYOUT_65_iso_blocker
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h
index 69f53905fc..b7aa6ca2e9 100644
--- a/keyboards/percent/canoe/config.h
+++ b/keyboards/percent/canoe/config.h
@@ -20,11 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 2
-#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
-#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json
index 951e55ec64..fcbdf6bac8 100644
--- a/keyboards/percent/canoe/info.json
+++ b/keyboards/percent/canoe/info.json
@@ -8,21 +8,178 @@
"pid": "0x434E",
"device_version": "2.0.0"
},
+ "matrix_pins": {
+ "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
+ "rows": ["B0", "B1", "B2", "B3", "B4"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "D4"
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"indicators": {
"caps_lock": "D1"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["65_ansi_blocker", "65_iso_blocker"],
+ "layout_aliases": {
+ "LAYOUT": "LAYOUT_65_ansi_blocker",
+ "LAYOUT_iso": "LAYOUT_65_iso_blocker"
+ },
"layouts": {
"LAYOUT_65_iso_blocker": {
- "layout": [{"label":"K0D", "x":0, "y":0}, {"label":"K0C", "x":1, "y":0}, {"label":"K0B", "x":2, "y":0}, {"label":"K0A", "x":3, "y":0}, {"label":"K09", "x":4, "y":0}, {"label":"K08", "x":5, "y":0}, {"label":"K07", "x":6, "y":0}, {"label":"K06", "x":7, "y":0}, {"label":"K05", "x":8, "y":0}, {"label":"K04", "x":9, "y":0}, {"label":"K03", "x":10, "y":0}, {"label":"K02", "x":11, "y":0}, {"label":"K01", "x":12, "y":0}, {"label":"K00", "x":13, "y":0, "w":2}, {"label":"K0E", "x":15, "y":0}, {"label":"K1D", "x":0, "y":1, "w":1.5}, {"label":"K1C", "x":1.5, "y":1}, {"label":"K1B", "x":2.5, "y":1}, {"label":"K1A", "x":3.5, "y":1}, {"label":"K19", "x":4.5, "y":1}, {"label":"K18", "x":5.5, "y":1}, {"label":"K17", "x":6.5, "y":1}, {"label":"K16", "x":7.5, "y":1}, {"label":"K15", "x":8.5, "y":1}, {"label":"K14", "x":9.5, "y":1}, {"label":"K13", "x":10.5, "y":1}, {"label":"K12", "x":11.5, "y":1}, {"label":"K11", "x":12.5, "y":1}, {"label":"K1E", "x":15, "y":1}, {"label":"K2D", "x":0, "y":2, "w":1.75}, {"label":"K2C", "x":1.75, "y":2}, {"label":"K2B", "x":2.75, "y":2}, {"label":"K2A", "x":3.75, "y":2}, {"label":"K29", "x":4.75, "y":2}, {"label":"K28", "x":5.75, "y":2}, {"label":"K27", "x":6.75, "y":2}, {"label":"K26", "x":7.75, "y":2}, {"label":"K25", "x":8.75, "y":2}, {"label":"K24", "x":9.75, "y":2}, {"label":"K23", "x":10.75, "y":2}, {"label":"K22", "x":11.75, "y":2}, {"label":"K10", "x":12.75, "y":2}, {"label":"K21", "x":13.75, "y":1, "w":1.25, "h":2}, {"label":"K2E", "x":15, "y":2}, {"label":"K3D", "x":0, "y":3, "w":1.25}, {"label":"K4A", "x":1.25, "y":3}, {"label":"K3C", "x":2.25, "y":3}, {"label":"K3B", "x":3.25, "y":3}, {"label":"K3A", "x":4.25, "y":3}, {"label":"K39", "x":5.25, "y":3}, {"label":"K38", "x":6.25, "y":3}, {"label":"K37", "x":7.25, "y":3}, {"label":"K36", "x":8.25, "y":3}, {"label":"K35", "x":9.25, "y":3}, {"label":"K34", "x":10.25, "y":3}, {"label":"K33", "x":11.25, "y":3}, {"label":"K32", "x":12.25, "y":3, "w":1.75}, {"label":"K30", "x":14, "y":3}, {"label":"K3E", "x":15, "y":3}, {"label":"K4D", "x":0, "y":4, "w":1.25}, {"label":"K4C", "x":1.25, "y":4, "w":1.25}, {"label":"K4B", "x":2.5, "y":4, "w":1.25}, {"label":"K48", "x":3.75, "y":4, "w":6.25}, {"label":"K44", "x":10, "y":4, "w":1.25}, {"label":"K43", "x":11.25, "y":4, "w":1.25}, {"label":"K42", "x":13, "y":4}, {"label":"K40", "x":14, "y":4}, {"label":"K4E", "x":15, "y":4}]
+ "layout": [
+ {"label": "K0D", "matrix": [0, 13], "x": 0, "y": 0},
+ {"label": "K0C", "matrix": [0, 12], "x": 1, "y": 0},
+ {"label": "K0B", "matrix": [0, 11], "x": 2, "y": 0},
+ {"label": "K0A", "matrix": [0, 10], "x": 3, "y": 0},
+ {"label": "K09", "matrix": [0, 9], "x": 4, "y": 0},
+ {"label": "K08", "matrix": [0, 8], "x": 5, "y": 0},
+ {"label": "K07", "matrix": [0, 7], "x": 6, "y": 0},
+ {"label": "K06", "matrix": [0, 6], "x": 7, "y": 0},
+ {"label": "K05", "matrix": [0, 5], "x": 8, "y": 0},
+ {"label": "K04", "matrix": [0, 4], "x": 9, "y": 0},
+ {"label": "K03", "matrix": [0, 3], "x": 10, "y": 0},
+ {"label": "K02", "matrix": [0, 2], "x": 11, "y": 0},
+ {"label": "K01", "matrix": [0, 1], "x": 12, "y": 0},
+ {"label": "K00", "matrix": [0, 0], "x": 13, "y": 0, "w": 2},
+ {"label": "K0E", "matrix": [0, 14], "x": 15, "y": 0},
+
+ {"label": "K1D", "matrix": [1, 13], "x": 0, "y": 1, "w": 1.5},
+ {"label": "K1C", "matrix": [1, 12], "x": 1.5, "y": 1},
+ {"label": "K1B", "matrix": [1, 11], "x": 2.5, "y": 1},
+ {"label": "K1A", "matrix": [1, 10], "x": 3.5, "y": 1},
+ {"label": "K19", "matrix": [1, 9], "x": 4.5, "y": 1},
+ {"label": "K18", "matrix": [1, 8], "x": 5.5, "y": 1},
+ {"label": "K17", "matrix": [1, 7], "x": 6.5, "y": 1},
+ {"label": "K16", "matrix": [1, 6], "x": 7.5, "y": 1},
+ {"label": "K15", "matrix": [1, 5], "x": 8.5, "y": 1},
+ {"label": "K14", "matrix": [1, 4], "x": 9.5, "y": 1},
+ {"label": "K13", "matrix": [1, 3], "x": 10.5, "y": 1},
+ {"label": "K12", "matrix": [1, 2], "x": 11.5, "y": 1},
+ {"label": "K11", "matrix": [1, 1], "x": 12.5, "y": 1},
+ {"label": "K1E", "matrix": [1, 14], "x": 15, "y": 1},
+
+ {"label": "K2D", "matrix": [2, 13], "x": 0, "y": 2, "w": 1.75},
+ {"label": "K2C", "matrix": [2, 12], "x": 1.75, "y": 2},
+ {"label": "K2B", "matrix": [2, 11], "x": 2.75, "y": 2},
+ {"label": "K2A", "matrix": [2, 10], "x": 3.75, "y": 2},
+ {"label": "K29", "matrix": [2, 9], "x": 4.75, "y": 2},
+ {"label": "K28", "matrix": [2, 8], "x": 5.75, "y": 2},
+ {"label": "K27", "matrix": [2, 7], "x": 6.75, "y": 2},
+ {"label": "K26", "matrix": [2, 6], "x": 7.75, "y": 2},
+ {"label": "K25", "matrix": [2, 5], "x": 8.75, "y": 2},
+ {"label": "K24", "matrix": [2, 4], "x": 9.75, "y": 2},
+ {"label": "K23", "matrix": [2, 3], "x": 10.75, "y": 2},
+ {"label": "K22", "matrix": [2, 2], "x": 11.75, "y": 2},
+ {"label": "K10", "matrix": [1, 0], "x": 12.75, "y": 2},
+ {"label": "K21", "matrix": [2, 1], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"label": "K2E", "matrix": [2, 14], "x": 15, "y": 2},
+
+ {"label": "K3D", "matrix": [3, 13], "x": 0, "y": 3, "w": 1.25},
+ {"label": "K4A", "matrix": [4, 10], "x": 1.25, "y": 3},
+ {"label": "K3C", "matrix": [3, 12], "x": 2.25, "y": 3},
+ {"label": "K3B", "matrix": [3, 11], "x": 3.25, "y": 3},
+ {"label": "K3A", "matrix": [3, 10], "x": 4.25, "y": 3},
+ {"label": "K39", "matrix": [3, 9], "x": 5.25, "y": 3},
+ {"label": "K38", "matrix": [3, 8], "x": 6.25, "y": 3},
+ {"label": "K37", "matrix": [3, 7], "x": 7.25, "y": 3},
+ {"label": "K36", "matrix": [3, 6], "x": 8.25, "y": 3},
+ {"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 3},
+ {"label": "K34", "matrix": [3, 4], "x": 10.25, "y": 3},
+ {"label": "K33", "matrix": [3, 3], "x": 11.25, "y": 3},
+ {"label": "K32", "matrix": [3, 2], "x": 12.25, "y": 3, "w": 1.75},
+ {"label": "K30", "matrix": [3, 0], "x": 14, "y": 3},
+ {"label": "K3E", "matrix": [3, 14], "x": 15, "y": 3},
+
+ {"label": "K4D", "matrix": [4, 13], "x": 0, "y": 4, "w": 1.25},
+ {"label": "K4C", "matrix": [4, 12], "x": 1.25, "y": 4, "w": 1.25},
+ {"label": "K4B", "matrix": [4, 11], "x": 2.5, "y": 4, "w": 1.25},
+ {"label": "K48", "matrix": [4, 8], "x": 3.75, "y": 4, "w": 6.25},
+ {"label": "K44", "matrix": [4, 4], "x": 10, "y": 4, "w": 1.25},
+ {"label": "K43", "matrix": [4, 3], "x": 11.25, "y": 4, "w": 1.25},
+ {"label": "K42", "matrix": [4, 2], "x": 13, "y": 4},
+ {"label": "K40", "matrix": [4, 0], "x": 14, "y": 4},
+ {"label": "K4E", "matrix": [4, 14], "x": 15, "y": 4}
+ ]
},
"LAYOUT_65_ansi_blocker": {
- "layout": [{"label":"K0D", "x":0, "y":0}, {"label":"K0C", "x":1, "y":0}, {"label":"K0B", "x":2, "y":0}, {"label":"K0A", "x":3, "y":0}, {"label":"K09", "x":4, "y":0}, {"label":"K08", "x":5, "y":0}, {"label":"K07", "x":6, "y":0}, {"label":"K06", "x":7, "y":0}, {"label":"K05", "x":8, "y":0}, {"label":"K04", "x":9, "y":0}, {"label":"K03", "x":10, "y":0}, {"label":"K02", "x":11, "y":0}, {"label":"K01", "x":12, "y":0}, {"label":"K00", "x":13, "y":0, "w":2}, {"label":"K0E", "x":15, "y":0}, {"label":"K1D", "x":0, "y":1, "w":1.5}, {"label":"K1C", "x":1.5, "y":1}, {"label":"K1B", "x":2.5, "y":1}, {"label":"K1A", "x":3.5, "y":1}, {"label":"K19", "x":4.5, "y":1}, {"label":"K18", "x":5.5, "y":1}, {"label":"K17", "x":6.5, "y":1}, {"label":"K16", "x":7.5, "y":1}, {"label":"K15", "x":8.5, "y":1}, {"label":"K14", "x":9.5, "y":1}, {"label":"K13", "x":10.5, "y":1}, {"label":"K12", "x":11.5, "y":1}, {"label":"K11", "x":12.5, "y":1}, {"label":"K10", "x":13.5, "y":1, "w":1.5}, {"label":"K1E", "x":15, "y":1}, {"label":"K2D", "x":0, "y":2, "w":1.75}, {"label":"K2C", "x":1.75, "y":2}, {"label":"K2B", "x":2.75, "y":2}, {"label":"K2A", "x":3.75, "y":2}, {"label":"K29", "x":4.75, "y":2}, {"label":"K28", "x":5.75, "y":2}, {"label":"K27", "x":6.75, "y":2}, {"label":"K26", "x":7.75, "y":2}, {"label":"K25", "x":8.75, "y":2}, {"label":"K24", "x":9.75, "y":2}, {"label":"K23", "x":10.75, "y":2}, {"label":"K22", "x":11.75, "y":2}, {"label":"K21", "x":12.75, "y":2, "w":2.25}, {"label":"K2E", "x":15, "y":2}, {"label":"K3D", "x":0, "y":3, "w":2.25}, {"label":"K3C", "x":2.25, "y":3}, {"label":"K3B", "x":3.25, "y":3}, {"label":"K3A", "x":4.25, "y":3}, {"label":"K39", "x":5.25, "y":3}, {"label":"K38", "x":6.25, "y":3}, {"label":"K37", "x":7.25, "y":3}, {"label":"K36", "x":8.25, "y":3}, {"label":"K35", "x":9.25, "y":3}, {"label":"K34", "x":10.25, "y":3}, {"label":"K33", "x":11.25, "y":3}, {"label":"K32", "x":12.25, "y":3, "w":1.75}, {"label":"K30", "x":14, "y":3}, {"label":"K3E", "x":15, "y":3}, {"label":"K4D", "x":0, "y":4, "w":1.25}, {"label":"K4C", "x":1.25, "y":4, "w":1.25}, {"label":"K4B", "x":2.5, "y":4, "w":1.25}, {"label":"K48", "x":3.75, "y":4, "w":6.25}, {"label":"K44", "x":10, "y":4, "w":1.25}, {"label":"K43", "x":11.25, "y":4, "w":1.25}, {"label":"K42", "x":13, "y":4}, {"label":"K40", "x":14, "y":4}, {"label":"K4E", "x":15, "y":4}]
+ "layout": [
+ {"label": "K0D", "matrix": [0, 13], "x": 0, "y": 0},
+ {"label": "K0C", "matrix": [0, 12], "x": 1, "y": 0},
+ {"label": "K0B", "matrix": [0, 11], "x": 2, "y": 0},
+ {"label": "K0A", "matrix": [0, 10], "x": 3, "y": 0},
+ {"label": "K09", "matrix": [0, 9], "x": 4, "y": 0},
+ {"label": "K08", "matrix": [0, 8], "x": 5, "y": 0},
+ {"label": "K07", "matrix": [0, 7], "x": 6, "y": 0},
+ {"label": "K06", "matrix": [0, 6], "x": 7, "y": 0},
+ {"label": "K05", "matrix": [0, 5], "x": 8, "y": 0},
+ {"label": "K04", "matrix": [0, 4], "x": 9, "y": 0},
+ {"label": "K03", "matrix": [0, 3], "x": 10, "y": 0},
+ {"label": "K02", "matrix": [0, 2], "x": 11, "y": 0},
+ {"label": "K01", "matrix": [0, 1], "x": 12, "y": 0},
+ {"label": "K00", "matrix": [0, 0], "x": 13, "y": 0, "w": 2},
+ {"label": "K0E", "matrix": [0, 14], "x": 15, "y": 0},
+
+ {"label": "K1D", "matrix": [1, 13], "x": 0, "y": 1, "w": 1.5},
+ {"label": "K1C", "matrix": [1, 12], "x": 1.5, "y": 1},
+ {"label": "K1B", "matrix": [1, 11], "x": 2.5, "y": 1},
+ {"label": "K1A", "matrix": [1, 10], "x": 3.5, "y": 1},
+ {"label": "K19", "matrix": [1, 9], "x": 4.5, "y": 1},
+ {"label": "K18", "matrix": [1, 8], "x": 5.5, "y": 1},
+ {"label": "K17", "matrix": [1, 7], "x": 6.5, "y": 1},
+ {"label": "K16", "matrix": [1, 6], "x": 7.5, "y": 1},
+ {"label": "K15", "matrix": [1, 5], "x": 8.5, "y": 1},
+ {"label": "K14", "matrix": [1, 4], "x": 9.5, "y": 1},
+ {"label": "K13", "matrix": [1, 3], "x": 10.5, "y": 1},
+ {"label": "K12", "matrix": [1, 2], "x": 11.5, "y": 1},
+ {"label": "K11", "matrix": [1, 1], "x": 12.5, "y": 1},
+ {"label": "K10", "matrix": [1, 0], "x": 13.5, "y": 1, "w": 1.5},
+ {"label": "K1E", "matrix": [1, 14], "x": 15, "y": 1},
+
+ {"label": "K2D", "matrix": [2, 13], "x": 0, "y": 2, "w": 1.75},
+ {"label": "K2C", "matrix": [2, 12], "x": 1.75, "y": 2},
+ {"label": "K2B", "matrix": [2, 11], "x": 2.75, "y": 2},
+ {"label": "K2A", "matrix": [2, 10], "x": 3.75, "y": 2},
+ {"label": "K29", "matrix": [2, 9], "x": 4.75, "y": 2},
+ {"label": "K28", "matrix": [2, 8], "x": 5.75, "y": 2},
+ {"label": "K27", "matrix": [2, 7], "x": 6.75, "y": 2},
+ {"label": "K26", "matrix": [2, 6], "x": 7.75, "y": 2},
+ {"label": "K25", "matrix": [2, 5], "x": 8.75, "y": 2},
+ {"label": "K24", "matrix": [2, 4], "x": 9.75, "y": 2},
+ {"label": "K23", "matrix": [2, 3], "x": 10.75, "y": 2},
+ {"label": "K22", "matrix": [2, 2], "x": 11.75, "y": 2},
+ {"label": "K21", "matrix": [2, 1], "x": 12.75, "y": 2, "w": 2.25},
+ {"label": "K2E", "matrix": [2, 14], "x": 15, "y": 2},
+
+ {"label": "K3D", "matrix": [3, 13], "x": 0, "y": 3, "w": 2.25},
+ {"label": "K3C", "matrix": [3, 12], "x": 2.25, "y": 3},
+ {"label": "K3B", "matrix": [3, 11], "x": 3.25, "y": 3},
+ {"label": "K3A", "matrix": [3, 10], "x": 4.25, "y": 3},
+ {"label": "K39", "matrix": [3, 9], "x": 5.25, "y": 3},
+ {"label": "K38", "matrix": [3, 8], "x": 6.25, "y": 3},
+ {"label": "K37", "matrix": [3, 7], "x": 7.25, "y": 3},
+ {"label": "K36", "matrix": [3, 6], "x": 8.25, "y": 3},
+ {"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 3},
+ {"label": "K34", "matrix": [3, 4], "x": 10.25, "y": 3},
+ {"label": "K33", "matrix": [3, 3], "x": 11.25, "y": 3},
+ {"label": "K32", "matrix": [3, 2], "x": 12.25, "y": 3, "w": 1.75},
+ {"label": "K30", "matrix": [3, 0], "x": 14, "y": 3},
+ {"label": "K3E", "matrix": [3, 14], "x": 15, "y": 3},
+
+ {"label": "K4D", "matrix": [4, 13], "x": 0, "y": 4, "w": 1.25},
+ {"label": "K4C", "matrix": [4, 12], "x": 1.25, "y": 4, "w": 1.25},
+ {"label": "K4B", "matrix": [4, 11], "x": 2.5, "y": 4, "w": 1.25},
+ {"label": "K48", "matrix": [4, 8], "x": 3.75, "y": 4, "w": 6.25},
+ {"label": "K44", "matrix": [4, 4], "x": 10, "y": 4, "w": 1.25},
+ {"label": "K43", "matrix": [4, 3], "x": 11.25, "y": 4, "w": 1.25},
+ {"label": "K42", "matrix": [4, 2], "x": 13, "y": 4},
+ {"label": "K40", "matrix": [4, 0], "x": 14, "y": 4},
+ {"label": "K4E", "matrix": [4, 14], "x": 15, "y": 4}
+ ]
}
}
}
diff --git a/keyboards/percent/canoe/rules.mk b/keyboards/percent/canoe/rules.mk
index 25437c442c..6b0cec85a4 100644
--- a/keyboards/percent/canoe/rules.mk
+++ b/keyboards/percent/canoe/rules.mk
@@ -8,4 +8,3 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
-WS2812_DRIVER = i2c
diff --git a/keyboards/percent/canoe_gen2/canoe_gen2.c b/keyboards/percent/canoe_gen2/canoe_gen2.c
index 47ade5dd4f..e5beff54a3 100644
--- a/keyboards/percent/canoe_gen2/canoe_gen2.c
+++ b/keyboards/percent/canoe_gen2/canoe_gen2.c
@@ -15,7 +15,7 @@ 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 "canoe_gen2.h"
+#include "quantum.h"
void keyboard_pre_init_kb(void) {
setPinOutput(E6);
diff --git a/keyboards/percent/canoe_gen2/canoe_gen2.h b/keyboards/percent/canoe_gen2/canoe_gen2.h
deleted file mode 100644
index d4582eef25..0000000000
--- a/keyboards/percent/canoe_gen2/canoe_gen2.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Copyright 2020 Evy Dekkers
-
-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"
-
-// readability
-#define ___ KC_NO
-
-#define LAYOUT_all LAYOUT_65_iso_blocker_split_bs
-
-#define LAYOUT_65_ansi_blocker_split_bs( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k1d, k0d, k0e, \
- k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, k1e, \
- k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, k2e, \
- k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, \
- k40, k41, k42, k46, k49, k4a, k4c, k4d, k4e \
-) \
-{ \
- {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e}, \
- {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e}, \
- {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e}, \
- {k30, ___, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e}, \
- {k40, k41, k42, ___, ___, ___, k46, ___, ___, k49, k4a, ___, k4c, k4d, k4e} \
-}
-
-#define LAYOUT_65_iso_blocker_split_bs( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k1d, k0d, k0e, \
- k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, \
- k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, \
- k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, \
- k40, k41, k42, k46, k49, k4a, k4c, k4d, k4e \
-) \
-{ \
- {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e}, \
- {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e}, \
- {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e}, \
- {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e}, \
- {k40, k41, k42, ___, ___, ___, k46, ___, ___, k49, k4a, ___, k4c, k4d, k4e} \
-}
diff --git a/keyboards/percent/canoe_gen2/config.h b/keyboards/percent/canoe_gen2/config.h
index 7138fe3939..fe374cd794 100644
--- a/keyboards/percent/canoe_gen2/config.h
+++ b/keyboards/percent/canoe_gen2/config.h
@@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-// ROWS: Top to bottom, COLS: Left to right
-
-#define MATRIX_ROW_PINS {B1,B3,B2,F5,F4}
-#define MATRIX_COL_PINS {B0,D0,C6,B6,B5,B4,D7,D6,D4,D5,D3,D2,D1,F6,F7}
-
-/* COL2ROW or 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 */
@@ -33,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight configuration
*/
-#define RGB_DI_PIN B7
#define RGB_MATRIX_LED_COUNT 77
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
diff --git a/keyboards/percent/canoe_gen2/info.json b/keyboards/percent/canoe_gen2/info.json
index e84a835991..8288368389 100644
--- a/keyboards/percent/canoe_gen2/info.json
+++ b/keyboards/percent/canoe_gen2/info.json
@@ -8,161 +8,175 @@
"pid": "0x89F0",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B7"
+ },
+ "rgb_matrix": {
+ "driver": "WS2812"
+ },
+ "matrix_pins": {
+ "cols": ["B0", "D0", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "F6", "F7"],
+ "rows": ["B1", "B3", "B2", "F5", "F4"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker_split_bs", "65_iso_blocker_split_bs"],
+ "layout_aliases": {
+ "LAYOUT_all": "LAYOUT_65_iso_blocker_split_bs"
+ },
"layouts": {
"LAYOUT_65_ansi_blocker_split_bs": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
- {"x":5, "y":0},
- {"x":6, "y":0},
- {"x":7, "y":0},
- {"x":8, "y":0},
- {"x":9, "y":0},
- {"x":10, "y":0},
- {"x":11, "y":0},
- {"x":12, "y":0},
- {"x":13, "y":0},
- {"x":14, "y":0},
- {"x":15, "y":0},
-
- {"x":0, "y":1, "w":1.5},
- {"x":1.5, "y":1},
- {"x":2.5, "y":1},
- {"x":3.5, "y":1},
- {"x":4.5, "y":1},
- {"x":5.5, "y":1},
- {"x":6.5, "y":1},
- {"x":7.5, "y":1},
- {"x":8.5, "y":1},
- {"x":9.5, "y":1},
- {"x":10.5, "y":1},
- {"x":11.5, "y":1},
- {"x":12.5, "y":1},
- {"x":13.5, "y":1, "w":1.5},
- {"x":15, "y":1},
-
- {"x":0, "y":2, "w":1.75},
- {"x":1.75, "y":2},
- {"x":2.75, "y":2},
- {"x":3.75, "y":2},
- {"x":4.75, "y":2},
- {"x":5.75, "y":2},
- {"x":6.75, "y":2},
- {"x":7.75, "y":2},
- {"x":8.75, "y":2},
- {"x":9.75, "y":2},
- {"x":10.75, "y":2},
- {"x":11.75, "y":2},
- {"x":12.75, "y":2, "w":2.25},
- {"x":15, "y":2},
-
- {"x":0, "y":3, "w":2.25},
- {"x":2.25, "y":3},
- {"x":3.25, "y":3},
- {"x":4.25, "y":3},
- {"x":5.25, "y":3},
- {"x":6.25, "y":3},
- {"x":7.25, "y":3},
- {"x":8.25, "y":3},
- {"x":9.25, "y":3},
- {"x":10.25, "y":3},
- {"x":11.25, "y":3},
- {"x":12.25, "y":3, "w":1.75},
- {"x":14, "y":3},
- {"x":15, "y":3},
-
- {"x":0, "y":4, "w":1.25},
- {"x":1.25, "y":4, "w":1.25},
- {"x":2.5, "y":4, "w":1.25},
- {"x":3.75, "y":4, "w":6.25},
- {"x":10, "y":4, "w":1.25},
- {"x":11.25, "y":4, "w":1.25},
- {"x":13, "y":4},
- {"x":14, "y":4},
- {"x":15, "y":4}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
+ {"matrix": [0, 12], "x": 12, "y": 0},
+ {"matrix": [1, 13], "x": 13, "y": 0},
+ {"matrix": [0, 13], "x": 14, "y": 0},
+ {"matrix": [0, 14], "x": 15, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [1, 1], "x": 1.5, "y": 1},
+ {"matrix": [1, 2], "x": 2.5, "y": 1},
+ {"matrix": [1, 3], "x": 3.5, "y": 1},
+ {"matrix": [1, 4], "x": 4.5, "y": 1},
+ {"matrix": [1, 5], "x": 5.5, "y": 1},
+ {"matrix": [1, 6], "x": 6.5, "y": 1},
+ {"matrix": [1, 7], "x": 7.5, "y": 1},
+ {"matrix": [1, 8], "x": 8.5, "y": 1},
+ {"matrix": [1, 9], "x": 9.5, "y": 1},
+ {"matrix": [1, 10], "x": 10.5, "y": 1},
+ {"matrix": [1, 11], "x": 11.5, "y": 1},
+ {"matrix": [1, 12], "x": 12.5, "y": 1},
+ {"matrix": [2, 12], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [1, 14], "x": 15, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [2, 1], "x": 1.75, "y": 2},
+ {"matrix": [2, 2], "x": 2.75, "y": 2},
+ {"matrix": [2, 3], "x": 3.75, "y": 2},
+ {"matrix": [2, 4], "x": 4.75, "y": 2},
+ {"matrix": [2, 5], "x": 5.75, "y": 2},
+ {"matrix": [2, 6], "x": 6.75, "y": 2},
+ {"matrix": [2, 7], "x": 7.75, "y": 2},
+ {"matrix": [2, 8], "x": 8.75, "y": 2},
+ {"matrix": [2, 9], "x": 9.75, "y": 2},
+ {"matrix": [2, 10], "x": 10.75, "y": 2},
+ {"matrix": [2, 11], "x": 11.75, "y": 2},
+ {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
+ {"matrix": [2, 14], "x": 15, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [3, 2], "x": 2.25, "y": 3},
+ {"matrix": [3, 3], "x": 3.25, "y": 3},
+ {"matrix": [3, 4], "x": 4.25, "y": 3},
+ {"matrix": [3, 5], "x": 5.25, "y": 3},
+ {"matrix": [3, 6], "x": 6.25, "y": 3},
+ {"matrix": [3, 7], "x": 7.25, "y": 3},
+ {"matrix": [3, 8], "x": 8.25, "y": 3},
+ {"matrix": [3, 9], "x": 9.25, "y": 3},
+ {"matrix": [3, 10], "x": 10.25, "y": 3},
+ {"matrix": [3, 11], "x": 11.25, "y": 3},
+ {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [3, 13], "x": 14, "y": 3},
+ {"matrix": [3, 14], "x": 15, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [4, 12], "x": 13, "y": 4},
+ {"matrix": [4, 13], "x": 14, "y": 4},
+ {"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_65_iso_blocker_split_bs": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
- {"x":5, "y":0},
- {"x":6, "y":0},
- {"x":7, "y":0},
- {"x":8, "y":0},
- {"x":9, "y":0},
- {"x":10, "y":0},
- {"x":11, "y":0},
- {"x":12, "y":0},
- {"x":13, "y":0},
- {"x":14, "y":0},
- {"x":15, "y":0},
-
- {"x":0, "y":1, "w":1.5},
- {"x":1.5, "y":1},
- {"x":2.5, "y":1},
- {"x":3.5, "y":1},
- {"x":4.5, "y":1},
- {"x":5.5, "y":1},
- {"x":6.5, "y":1},
- {"x":7.5, "y":1},
- {"x":8.5, "y":1},
- {"x":9.5, "y":1},
- {"x":10.5, "y":1},
- {"x":11.5, "y":1},
- {"x":12.5, "y":1},
- {"x":15, "y":1},
-
- {"x":0, "y":2, "w":1.75},
- {"x":1.75, "y":2},
- {"x":2.75, "y":2},
- {"x":3.75, "y":2},
- {"x":4.75, "y":2},
- {"x":5.75, "y":2},
- {"x":6.75, "y":2},
- {"x":7.75, "y":2},
- {"x":8.75, "y":2},
- {"x":9.75, "y":2},
- {"x":10.75, "y":2},
- {"x":11.75, "y":2},
- {"x":12.75, "y":2},
- {"x":13.75, "y":1, "w":1.25, "h":2},
- {"x":15, "y":2},
-
- {"x":0, "y":3, "w":1.25},
- {"x":1.25, "y":3},
- {"x":2.25, "y":3},
- {"x":3.25, "y":3},
- {"x":4.25, "y":3},
- {"x":5.25, "y":3},
- {"x":6.25, "y":3},
- {"x":7.25, "y":3},
- {"x":8.25, "y":3},
- {"x":9.25, "y":3},
- {"x":10.25, "y":3},
- {"x":11.25, "y":3},
- {"x":12.25, "y":3, "w":1.75},
- {"x":14, "y":3},
- {"x":15, "y":3},
-
- {"x":0, "y":4, "w":1.25},
- {"x":1.25, "y":4, "w":1.25},
- {"x":2.5, "y":4, "w":1.25},
- {"x":3.75, "y":4, "w":6.25},
- {"x":10, "y":4, "w":1.25},
- {"x":11.25, "y":4, "w":1.25},
- {"x":13, "y":4},
- {"x":14, "y":4},
- {"x":15, "y":4}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
+ {"matrix": [0, 12], "x": 12, "y": 0},
+ {"matrix": [1, 13], "x": 13, "y": 0},
+ {"matrix": [0, 13], "x": 14, "y": 0},
+ {"matrix": [0, 14], "x": 15, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [1, 1], "x": 1.5, "y": 1},
+ {"matrix": [1, 2], "x": 2.5, "y": 1},
+ {"matrix": [1, 3], "x": 3.5, "y": 1},
+ {"matrix": [1, 4], "x": 4.5, "y": 1},
+ {"matrix": [1, 5], "x": 5.5, "y": 1},
+ {"matrix": [1, 6], "x": 6.5, "y": 1},
+ {"matrix": [1, 7], "x": 7.5, "y": 1},
+ {"matrix": [1, 8], "x": 8.5, "y": 1},
+ {"matrix": [1, 9], "x": 9.5, "y": 1},
+ {"matrix": [1, 10], "x": 10.5, "y": 1},
+ {"matrix": [1, 11], "x": 11.5, "y": 1},
+ {"matrix": [1, 12], "x": 12.5, "y": 1},
+ {"matrix": [1, 14], "x": 15, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [2, 1], "x": 1.75, "y": 2},
+ {"matrix": [2, 2], "x": 2.75, "y": 2},
+ {"matrix": [2, 3], "x": 3.75, "y": 2},
+ {"matrix": [2, 4], "x": 4.75, "y": 2},
+ {"matrix": [2, 5], "x": 5.75, "y": 2},
+ {"matrix": [2, 6], "x": 6.75, "y": 2},
+ {"matrix": [2, 7], "x": 7.75, "y": 2},
+ {"matrix": [2, 8], "x": 8.75, "y": 2},
+ {"matrix": [2, 9], "x": 9.75, "y": 2},
+ {"matrix": [2, 10], "x": 10.75, "y": 2},
+ {"matrix": [2, 11], "x": 11.75, "y": 2},
+ {"matrix": [2, 12], "x": 12.75, "y": 2},
+ {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [2, 14], "x": 15, "y": 2},
+
+ {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [3, 1], "x": 1.25, "y": 3},
+ {"matrix": [3, 2], "x": 2.25, "y": 3},
+ {"matrix": [3, 3], "x": 3.25, "y": 3},
+ {"matrix": [3, 4], "x": 4.25, "y": 3},
+ {"matrix": [3, 5], "x": 5.25, "y": 3},
+ {"matrix": [3, 6], "x": 6.25, "y": 3},
+ {"matrix": [3, 7], "x": 7.25, "y": 3},
+ {"matrix": [3, 8], "x": 8.25, "y": 3},
+ {"matrix": [3, 9], "x": 9.25, "y": 3},
+ {"matrix": [3, 10], "x": 10.25, "y": 3},
+ {"matrix": [3, 11], "x": 11.25, "y": 3},
+ {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [3, 13], "x": 14, "y": 3},
+ {"matrix": [3, 14], "x": 15, "y": 3},
+
+ {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [4, 12], "x": 13, "y": 4},
+ {"matrix": [4, 13], "x": 14, "y": 4},
+ {"matrix": [4, 14], "x": 15, "y": 4}
]
}
}
diff --git a/keyboards/percent/canoe_gen2/rules.mk b/keyboards/percent/canoe_gen2/rules.mk
index 0be47ec5d1..d399c10822 100644
--- a/keyboards/percent/canoe_gen2/rules.mk
+++ b/keyboards/percent/canoe_gen2/rules.mk
@@ -11,6 +11,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = WS2812
RGB_MATRIX_CUSTOM_KB = yes
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h
index 274d30df72..6907429c39 100644
--- a/keyboards/percent/skog/config.h
+++ b/keyboards/percent/skog/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define MATRIX_ROW_PINS { B0, B1, B2, B3, B5, B6, B7 }
-#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2 }
-#define DIODE_DIRECTION COL2ROW
-
#define RGBLED_NUM 2
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json
index 80c7d832c4..19e7f81603 100644
--- a/keyboards/percent/skog/info.json
+++ b/keyboards/percent/skog/info.json
@@ -8,10 +8,18 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "matrix_pins": {
+ "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2"],
+ "rows": ["B0", "B1", "B2", "B3", "B5", "B6", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "D4",
"levels": 5
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
@@ -20,7 +28,110 @@
"bootloader": "bootloadhid",
"layouts": {
"LAYOUT": {
- "layout": [{"x":0, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6.5, "y":0}, {"x":7.5, "y":0}, {"x":8.5, "y":0}, {"x":9.5, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15.25, "y":0}, {"x":16.25, "y":0}, {"x":17.25, "y":0}, {"x":0, "y":1.5}, {"x":1, "y":1.5}, {"x":2, "y":1.5}, {"x":3, "y":1.5}, {"x":4, "y":1.5}, {"x":5, "y":1.5}, {"x":6, "y":1.5}, {"x":7, "y":1.5}, {"x":8, "y":1.5}, {"x":9, "y":1.5}, {"x":10, "y":1.5}, {"x":11, "y":1.5}, {"x":12, "y":1.5}, {"x":13, "y":1.5, "w":2}, {"x":15.25, "y":1.5}, {"x":16.25, "y":1.5}, {"x":17.25, "y":1.5}, {"x":0, "y":2.5, "w":1.5}, {"x":1.5, "y":2.5}, {"x":2.5, "y":2.5}, {"x":3.5, "y":2.5}, {"x":4.5, "y":2.5}, {"x":5.5, "y":2.5}, {"x":6.5, "y":2.5}, {"x":7.5, "y":2.5}, {"x":8.5, "y":2.5}, {"x":9.5, "y":2.5}, {"x":10.5, "y":2.5}, {"x":11.5, "y":2.5}, {"x":12.5, "y":2.5}, {"x":13.5, "y":2.5, "w":1.5}, {"x":15.25, "y":2.5}, {"x":16.25, "y":2.5}, {"x":17.25, "y":2.5}, {"x":0, "y":3.5, "w":1.75}, {"x":1.75, "y":3.5}, {"x":2.75, "y":3.5}, {"x":3.75, "y":3.5}, {"x":4.75, "y":3.5}, {"x":5.75, "y":3.5}, {"x":6.75, "y":3.5}, {"x":7.75, "y":3.5}, {"x":8.75, "y":3.5}, {"x":9.75, "y":3.5}, {"x":10.75, "y":3.5}, {"x":11.75, "y":3.5}, {"x":12.75, "y":3.5, "w":2.25}, {"x":0, "y":4.5, "w":2.25}, {"x":2.25, "y":4.5}, {"x":3.25, "y":4.5}, {"x":4.25, "y":4.5}, {"x":5.25, "y":4.5}, {"x":6.25, "y":4.5}, {"x":7.25, "y":4.5}, {"x":8.25, "y":4.5}, {"x":9.25, "y":4.5}, {"x":10.25, "y":4.5}, {"x":11.25, "y":4.5}, {"x":12.25, "y":4.5, "w":1.75}, {"x":14, "y":4.5}, {"x":16.25, "y":4.5}, {"x":0, "y":5.5, "w":1.25}, {"x":1.25, "y":5.5, "w":1.25}, {"x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":6.25}, {"x":10, "y":5.5, "w":1.25}, {"x":11.25, "y":5.5, "w":1.25}, {"x":12.5, "y":5.5, "w":1.25}, {"x":13.75, "y":5.5, "w":1.25}, {"x":15.25, "y":5.5}, {"x":16.25, "y":5.5}, {"x":17.25, "y":5.5}]
+ "layout": [
+ {"matrix": [1, 1], "x": 0, "y": 0},
+
+ {"matrix": [1, 3], "x": 2, "y": 0},
+ {"matrix": [1, 4], "x": 3, "y": 0},
+ {"matrix": [1, 5], "x": 4, "y": 0},
+ {"matrix": [1, 6], "x": 5, "y": 0},
+
+ {"matrix": [1, 8], "x": 6.5, "y": 0},
+ {"matrix": [1, 9], "x": 7.5, "y": 0},
+ {"matrix": [1, 10], "x": 8.5, "y": 0},
+ {"matrix": [1, 11], "x": 9.5, "y": 0},
+
+ {"matrix": [1, 12], "x": 11, "y": 0},
+ {"matrix": [1, 0], "x": 12, "y": 0},
+ {"matrix": [1, 13], "x": 13, "y": 0},
+ {"matrix": [1, 2], "x": 14, "y": 0},
+
+ {"matrix": [0, 2], "x": 15.25, "y": 0},
+ {"matrix": [0, 3], "x": 16.25, "y": 0},
+ {"matrix": [0, 0], "x": 17.25, "y": 0},
+
+ {"matrix": [2, 1], "x": 0, "y": 1.5},
+ {"matrix": [2, 2], "x": 1, "y": 1.5},
+ {"matrix": [2, 3], "x": 2, "y": 1.5},
+ {"matrix": [2, 4], "x": 3, "y": 1.5},
+ {"matrix": [2, 5], "x": 4, "y": 1.5},
+ {"matrix": [2, 6], "x": 5, "y": 1.5},
+ {"matrix": [2, 7], "x": 6, "y": 1.5},
+ {"matrix": [2, 8], "x": 7, "y": 1.5},
+ {"matrix": [2, 9], "x": 8, "y": 1.5},
+ {"matrix": [2, 10], "x": 9, "y": 1.5},
+ {"matrix": [2, 11], "x": 10, "y": 1.5},
+ {"matrix": [2, 12], "x": 11, "y": 1.5},
+ {"matrix": [2, 0], "x": 12, "y": 1.5},
+ {"matrix": [2, 13], "x": 13, "y": 1.5, "w": 2},
+
+ {"matrix": [0, 7], "x": 15.25, "y": 1.5},
+ {"matrix": [0, 6], "x": 16.25, "y": 1.5},
+ {"matrix": [0, 5], "x": 17.25, "y": 1.5},
+
+ {"matrix": [3, 1], "x": 0, "y": 2.5, "w": 1.5},
+ {"matrix": [3, 2], "x": 1.5, "y": 2.5},
+ {"matrix": [3, 3], "x": 2.5, "y": 2.5},
+ {"matrix": [3, 4], "x": 3.5, "y": 2.5},
+ {"matrix": [3, 5], "x": 4.5, "y": 2.5},
+ {"matrix": [3, 6], "x": 5.5, "y": 2.5},
+ {"matrix": [3, 7], "x": 6.5, "y": 2.5},
+ {"matrix": [3, 8], "x": 7.5, "y": 2.5},
+ {"matrix": [3, 9], "x": 8.5, "y": 2.5},
+ {"matrix": [3, 10], "x": 9.5, "y": 2.5},
+ {"matrix": [3, 11], "x": 10.5, "y": 2.5},
+ {"matrix": [3, 12], "x": 11.5, "y": 2.5},
+ {"matrix": [3, 0], "x": 12.5, "y": 2.5},
+ {"matrix": [3, 13], "x": 13.5, "y": 2.5, "w": 1.5},
+
+ {"matrix": [0, 13], "x": 15.25, "y": 2.5},
+ {"matrix": [0, 9], "x": 16.25, "y": 2.5},
+ {"matrix": [0, 8], "x": 17.25, "y": 2.5},
+
+ {"matrix": [4, 1], "x": 0, "y": 3.5, "w": 1.75},
+ {"matrix": [4, 2], "x": 1.75, "y": 3.5},
+ {"matrix": [4, 3], "x": 2.75, "y": 3.5},
+ {"matrix": [4, 4], "x": 3.75, "y": 3.5},
+ {"matrix": [4, 5], "x": 4.75, "y": 3.5},
+ {"matrix": [4, 6], "x": 5.75, "y": 3.5},
+ {"matrix": [4, 7], "x": 6.75, "y": 3.5},
+ {"matrix": [4, 8], "x": 7.75, "y": 3.5},
+ {"matrix": [4, 9], "x": 8.75, "y": 3.5},
+ {"matrix": [4, 10], "x": 9.75, "y": 3.5},
+ {"matrix": [4, 11], "x": 10.75, "y": 3.5},
+ {"matrix": [4, 12], "x": 11.75, "y": 3.5},
+ {"matrix": [4, 0], "x": 12.75, "y": 3.5, "w": 2.25},
+
+ {"matrix": [5, 1], "x": 0, "y": 4.5, "w": 2.25},
+ {"matrix": [5, 2], "x": 2.25, "y": 4.5},
+ {"matrix": [5, 3], "x": 3.25, "y": 4.5},
+ {"matrix": [5, 4], "x": 4.25, "y": 4.5},
+ {"matrix": [5, 5], "x": 5.25, "y": 4.5},
+ {"matrix": [5, 6], "x": 6.25, "y": 4.5},
+ {"matrix": [5, 7], "x": 7.25, "y": 4.5},
+ {"matrix": [5, 8], "x": 8.25, "y": 4.5},
+ {"matrix": [5, 9], "x": 9.25, "y": 4.5},
+ {"matrix": [5, 10], "x": 10.25, "y": 4.5},
+ {"matrix": [5, 11], "x": 11.25, "y": 4.5},
+ {"matrix": [5, 12], "x": 12.25, "y": 4.5, "w": 1.75},
+
+ {"matrix": [5, 0], "x": 14, "y": 4.5},
+
+ {"matrix": [5, 13], "x": 16.25, "y": 4.5},
+
+ {"matrix": [6, 1], "x": 0, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 2], "x": 1.25, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 3], "x": 2.5, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 5], "x": 3.75, "y": 5.5, "w": 6.25},
+ {"matrix": [6, 9], "x": 10, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 10], "x": 11.25, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 11], "x": 12.5, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 12], "x": 13.75, "y": 5.5, "w": 1.25},
+
+ {"matrix": [6, 0], "x": 15.25, "y": 5.5},
+ {"matrix": [6, 13], "x": 16.25, "y": 5.5},
+ {"matrix": [6, 8], "x": 17.25, "y": 5.5}
+ ]
}
}
}
diff --git a/keyboards/percent/skog/rules.mk b/keyboards/percent/skog/rules.mk
index 25437c442c..6b0cec85a4 100644
--- a/keyboards/percent/skog/rules.mk
+++ b/keyboards/percent/skog/rules.mk
@@ -8,4 +8,3 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
-WS2812_DRIVER = i2c
diff --git a/keyboards/percent/skog/skog.c b/keyboards/percent/skog/skog.c
deleted file mode 100644
index c44f0373fb..0000000000
--- a/keyboards/percent/skog/skog.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2018 Jumail Mundekkat / MxBlue
-
-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/>.
-
-ps2avrGB support code by Kenneth A. (bminiex/.[ch])
-*/
-
-#include "skog.h"
diff --git a/keyboards/percent/skog/skog.h b/keyboards/percent/skog/skog.h
deleted file mode 100644
index c04a765b2e..0000000000
--- a/keyboards/percent/skog/skog.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-Copyright 2018 Jumail Mundekkat / MxBlue
-
-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( \
- K11, K31, K41, K51, K61, K81, K91, KA1, KB1, KC1, K01, KD1, K21, K20, K30, K00, \
- \
- K12, K22, K32, K42, K52, K62, K72, K82, K92, KA2, KB2, KC2, K02, KD2 , K70, K60, K50, \
- K13 , K23, K33, K43, K53, K63, K73, K83, K93, KA3, KB3, KC3, K03, KD3 , KD0, K90, K80, \
- K15 , K25, K35, K45, K55, K65, K75, K85, K95, KA5, KB5, KC5, K05 , \
- K16 , K26, K36, K46, K56, K66, K76, K86, K96, KA6, KB6, KC6 , K06, KD6, \
- K17 , K27 , K37 , K57 , K97 , KA7 , KB7 , KC7 , K07, KD7, K87 \
-){ \
- { K00, KC_NO, K20, K30, KC_NO, K50, K60, K70, K80, K90, KC_NO, KC_NO, KC_NO, KD0 }, \
- { K01, K11, K21, K31, K41, K51, K61, KC_NO, K81, K91, KA1, KB1, KC1, KD1 }, \
- { K02, K12, K22, K32, K42, K52, K62, K72, K82, K92, KA2, KB2, KC2, KD2 }, \
- { K03, K13, K23, K33, K43, K53, K63, K73, K83, K93, KA3, KB3, KC3, KD3 }, \
- { K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, KA5, KB5, KC5, KC_NO }, \
- { K06, K16, K26, K36, K46, K56, K66, K76, K86, K96, KA6, KB6, KC6, KD6 }, \
- { K07, K17, K27, K37, KC_NO, K57, KC_NO, KC_NO, K87, K97, KA7, KB7, KC7, KD7 } \
-}
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h
index b00a612cd7..75b78de22d 100644
--- a/keyboards/percent/skog_lite/config.h
+++ b/keyboards/percent/skog_lite/config.h
@@ -20,12 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 18
-// 0 1 2 3 4 5 6 7 8 9 A B C D E
-#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B6, B5 }
-#define MATRIX_COL_PINS { C4, C2, D7, C7, C6, A0, A1, A2, A3, A7, A6, A4, A5, C5, C3}
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json
index 74abc67bdc..4133d5c81b 100644
--- a/keyboards/percent/skog_lite/info.json
+++ b/keyboards/percent/skog_lite/info.json
@@ -8,9 +8,17 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "matrix_pins": {
+ "cols": ["C4", "C2", "D7", "C7", "C6", "A0", "A1", "A2", "A3", "A7", "A6", "A4", "A5", "C5", "C3"],
+ "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "D4"
},
+ "ws2812": {
+ "driver": "i2c"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
@@ -21,273 +29,310 @@
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [
- {"x":0, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
- {"x":5, "y":0},
- {"x":6.5, "y":0},
- {"x":7.5, "y":0},
- {"x":8.5, "y":0},
- {"x":9.5, "y":0},
- {"x":11, "y":0},
- {"x":12, "y":0},
- {"x":13, "y":0},
- {"x":14, "y":0},
- {"x":15.25, "y":0.5},
- {"x":16.25, "y":0.5},
- {"x":17.25, "y":0.5},
- {"x":0, "y":1.25},
- {"x":1, "y":1.25},
- {"x":2, "y":1.25},
- {"x":3, "y":1.25},
- {"x":4, "y":1.25},
- {"x":5, "y":1.25},
- {"x":6, "y":1.25},
- {"x":7, "y":1.25},
- {"x":8, "y":1.25},
- {"x":9, "y":1.25},
- {"x":10, "y":1.25},
- {"x":11, "y":1.25},
- {"x":12, "y":1.25},
- {"x":13, "y":1.25, "w":2},
- {"x":15.25, "y":1.75},
- {"x":16.25, "y":1.75},
- {"x":17.25, "y":1.75},
- {"x":0, "y":2.25, "w":1.5},
- {"x":1.5, "y":2.25},
- {"x":2.5, "y":2.25},
- {"x":3.5, "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":8.5, "y":2.25},
- {"x":9.5, "y":2.25},
- {"x":10.5, "y":2.25},
- {"x":11.5, "y":2.25},
- {"x":12.5, "y":2.25},
- {"x":13.5, "y":2.25, "w":1.5},
- {"x":15.25, "y":2.75},
- {"x":16.25, "y":2.75},
- {"x":17.25, "y":2.75},
- {"x":0, "y":3.25, "w":1.75},
- {"x":1.75, "y":3.25},
- {"x":2.75, "y":3.25},
- {"x":3.75, "y":3.25},
- {"x":4.75, "y":3.25},
- {"x":5.75, "y":3.25},
- {"x":6.75, "y":3.25},
- {"x":7.75, "y":3.25},
- {"x":8.75, "y":3.25},
- {"x":9.75, "y":3.25},
- {"x":10.75, "y":3.25},
- {"x":11.75, "y":3.25},
- {"x":12.75, "y":3.25, "w":2.25},
- {"x":0, "y":4.25, "w":2.25},
- {"x":2.25, "y":4.25},
- {"x":3.25, "y":4.25},
- {"x":4.25, "y":4.25},
- {"x":5.25, "y":4.25},
- {"x":6.25, "y":4.25},
- {"x":7.25, "y":4.25},
- {"x":8.25, "y":4.25},
- {"x":9.25, "y":4.25},
- {"x":10.25, "y":4.25},
- {"x":11.25, "y":4.25},
- {"x":12.25, "y":4.25, "w":2.75},
- {"x":16.25, "y":4.25},
- {"x":0, "y":5.25, "w":1.25},
- {"x":1.25, "y":5.25, "w":1.25},
- {"x":2.5, "y":5.25, "w":1.25},
- {"x":3.75, "y":5.25, "w":6.25},
- {"x":10, "y":5.25, "w":1.25},
- {"x":11.25, "y":5.25, "w":1.25},
- {"x":12.5, "y":5.25, "w":1.25},
- {"x":13.75, "y":5.25, "w":1.25},
- {"x":15.25, "y":5.25},
- {"x":16.25, "y":5.25},
- {"x":17.25, "y":5.25}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
+ {"matrix": [0, 3], "x": 4, "y": 0},
+ {"matrix": [0, 4], "x": 5, "y": 0},
+
+ {"matrix": [0, 5], "x": 6.5, "y": 0},
+ {"matrix": [0, 6], "x": 7.5, "y": 0},
+ {"matrix": [0, 7], "x": 8.5, "y": 0},
+ {"matrix": [0, 8], "x": 9.5, "y": 0},
+
+ {"matrix": [0, 9], "x": 11, "y": 0},
+ {"matrix": [0, 10], "x": 12, "y": 0},
+ {"matrix": [0, 11], "x": 13, "y": 0},
+ {"matrix": [0, 12], "x": 14, "y": 0},
+
+ {"matrix": [0, 13], "x": 15.25, "y": 0.5},
+ {"matrix": [0, 14], "x": 16.25, "y": 0.5},
+ {"matrix": [6, 12], "x": 17.25, "y": 0.5},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.25},
+ {"matrix": [1, 14], "x": 1, "y": 1.25},
+ {"matrix": [1, 1], "x": 2, "y": 1.25},
+ {"matrix": [1, 2], "x": 3, "y": 1.25},
+ {"matrix": [1, 3], "x": 4, "y": 1.25},
+ {"matrix": [1, 4], "x": 5, "y": 1.25},
+ {"matrix": [1, 13], "x": 6, "y": 1.25},
+ {"matrix": [1, 5], "x": 7, "y": 1.25},
+ {"matrix": [1, 6], "x": 8, "y": 1.25},
+ {"matrix": [1, 7], "x": 9, "y": 1.25},
+ {"matrix": [1, 8], "x": 10, "y": 1.25},
+ {"matrix": [1, 9], "x": 11, "y": 1.25},
+ {"matrix": [1, 10], "x": 12, "y": 1.25},
+ {"matrix": [1, 11], "x": 13, "y": 1.25, "w": 2},
+
+ {"matrix": [1, 12], "x": 15.25, "y": 1.75},
+ {"matrix": [6, 11], "x": 16.25, "y": 1.75},
+ {"matrix": [6, 10], "x": 17.25, "y": 1.75},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
+ {"matrix": [2, 14], "x": 1.5, "y": 2.25},
+ {"matrix": [2, 1], "x": 2.5, "y": 2.25},
+ {"matrix": [2, 2], "x": 3.5, "y": 2.25},
+ {"matrix": [2, 3], "x": 4.5, "y": 2.25},
+ {"matrix": [2, 4], "x": 5.5, "y": 2.25},
+ {"matrix": [2, 13], "x": 6.5, "y": 2.25},
+ {"matrix": [2, 5], "x": 7.5, "y": 2.25},
+ {"matrix": [2, 6], "x": 8.5, "y": 2.25},
+ {"matrix": [2, 7], "x": 9.5, "y": 2.25},
+ {"matrix": [2, 8], "x": 10.5, "y": 2.25},
+ {"matrix": [2, 9], "x": 11.5, "y": 2.25},
+ {"matrix": [2, 10], "x": 12.5, "y": 2.25},
+ {"matrix": [2, 11], "x": 13.5, "y": 2.25, "w": 1.5},
+
+ {"matrix": [2, 12], "x": 15.25, "y": 2.75},
+ {"matrix": [6, 9], "x": 16.25, "y": 2.75},
+ {"matrix": [6, 8], "x": 17.25, "y": 2.75},
+
+ {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
+ {"matrix": [3, 14], "x": 1.75, "y": 3.25},
+ {"matrix": [3, 1], "x": 2.75, "y": 3.25},
+ {"matrix": [3, 2], "x": 3.75, "y": 3.25},
+ {"matrix": [3, 3], "x": 4.75, "y": 3.25},
+ {"matrix": [3, 4], "x": 5.75, "y": 3.25},
+ {"matrix": [3, 13], "x": 6.75, "y": 3.25},
+ {"matrix": [3, 5], "x": 7.75, "y": 3.25},
+ {"matrix": [3, 6], "x": 8.75, "y": 3.25},
+ {"matrix": [3, 7], "x": 9.75, "y": 3.25},
+ {"matrix": [3, 8], "x": 10.75, "y": 3.25},
+ {"matrix": [3, 9], "x": 11.75, "y": 3.25},
+ {"matrix": [3, 10], "x": 12.75, "y": 3.25, "w": 2.25},
+
+ {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
+ {"matrix": [4, 14], "x": 2.25, "y": 4.25},
+ {"matrix": [4, 1], "x": 3.25, "y": 4.25},
+ {"matrix": [4, 2], "x": 4.25, "y": 4.25},
+ {"matrix": [4, 3], "x": 5.25, "y": 4.25},
+ {"matrix": [4, 4], "x": 6.25, "y": 4.25},
+ {"matrix": [4, 13], "x": 7.25, "y": 4.25},
+ {"matrix": [4, 5], "x": 8.25, "y": 4.25},
+ {"matrix": [4, 6], "x": 9.25, "y": 4.25},
+ {"matrix": [4, 7], "x": 10.25, "y": 4.25},
+ {"matrix": [4, 8], "x": 11.25, "y": 4.25},
+ {"matrix": [4, 11], "x": 12.25, "y": 4.25, "w": 2.75},
+
+ {"matrix": [4, 12], "x": 16.25, "y": 4.25},
+
+ {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 14], "x": 1.25, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 1], "x": 2.5, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 4], "x": 3.75, "y": 5.25, "w": 6.25},
+ {"matrix": [5, 6], "x": 10, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 7], "x": 11.25, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 8], "x": 12.5, "y": 5.25, "w": 1.25},
+ {"matrix": [5, 11], "x": 13.75, "y": 5.25, "w": 1.25},
+
+ {"matrix": [5, 10], "x": 15.25, "y": 5.25},
+ {"matrix": [5, 12], "x": 16.25, "y": 5.25},
+ {"matrix": [6, 7], "x": 17.25, "y": 5.25}
]
},
-
"LAYOUT_tkl_7u_ansi": {
"layout": [
- {"x":0, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
- {"x":5, "y":0},
- {"x":6.5, "y":0},
- {"x":7.5, "y":0},
- {"x":8.5, "y":0},
- {"x":9.5, "y":0},
- {"x":11, "y":0},
- {"x":12, "y":0},
- {"x":13, "y":0},
- {"x":14, "y":0},
- {"x":15.25, "y":0.5},
- {"x":16.25, "y":0.5},
- {"x":17.25, "y":0.5},
- {"x":0, "y":1.25},
- {"x":1, "y":1.25},
- {"x":2, "y":1.25},
- {"x":3, "y":1.25},
- {"x":4, "y":1.25},
- {"x":5, "y":1.25},
- {"x":6, "y":1.25},
- {"x":7, "y":1.25},
- {"x":8, "y":1.25},
- {"x":9, "y":1.25},
- {"x":10, "y":1.25},
- {"x":11, "y":1.25},
- {"x":12, "y":1.25},
- {"x":13, "y":1.25, "w":2},
- {"x":15.25, "y":1.75},
- {"x":16.25, "y":1.75},
- {"x":17.25, "y":1.75},
- {"x":0, "y":2.25, "w":1.5},
- {"x":1.5, "y":2.25},
- {"x":2.5, "y":2.25},
- {"x":3.5, "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":8.5, "y":2.25},
- {"x":9.5, "y":2.25},
- {"x":10.5, "y":2.25},
- {"x":11.5, "y":2.25},
- {"x":12.5, "y":2.25},
- {"x":13.5, "y":2.25, "w":1.5},
- {"x":15.25, "y":2.75},
- {"x":16.25, "y":2.75},
- {"x":17.25, "y":2.75},
- {"x":0, "y":3.25, "w":1.75},
- {"x":1.75, "y":3.25},
- {"x":2.75, "y":3.25},
- {"x":3.75, "y":3.25},
- {"x":4.75, "y":3.25},
- {"x":5.75, "y":3.25},
- {"x":6.75, "y":3.25},
- {"x":7.75, "y":3.25},
- {"x":8.75, "y":3.25},
- {"x":9.75, "y":3.25},
- {"x":10.75, "y":3.25},
- {"x":11.75, "y":3.25},
- {"x":12.75, "y":3.25, "w":2.25},
- {"x":0, "y":4.25, "w":2.25},
- {"x":2.25, "y":4.25},
- {"x":3.25, "y":4.25},
- {"x":4.25, "y":4.25},
- {"x":5.25, "y":4.25},
- {"x":6.25, "y":4.25},
- {"x":7.25, "y":4.25},
- {"x":8.25, "y":4.25},
- {"x":9.25, "y":4.25},
- {"x":10.25, "y":4.25},
- {"x":11.25, "y":4.25},
- {"x":12.25, "y":4.25, "w":2.75},
- {"x":16.25, "y":4.25},
- {"x":0, "y":5.25, "w":1.5},
- {"x":1.5, "y":5.25},
- {"x":2.5, "y":5.25, "w":1.5},
- {"x":4, "y":5.25, "w":7},
- {"x":11, "y":5.25, "w":1.5},
- {"x":12.5, "y":5.25},
- {"x":13.5, "y":5.25, "w":1.5},
- {"x":15.25, "y":5.25},
- {"x":16.25, "y":5.25},
- {"x":17.25, "y":5.25}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
+ {"matrix": [0, 3], "x": 4, "y": 0},
+ {"matrix": [0, 4], "x": 5, "y": 0},
+
+ {"matrix": [0, 5], "x": 6.5, "y": 0},
+ {"matrix": [0, 6], "x": 7.5, "y": 0},
+ {"matrix": [0, 7], "x": 8.5, "y": 0},
+ {"matrix": [0, 8], "x": 9.5, "y": 0},
+
+ {"matrix": [0, 9], "x": 11, "y": 0},
+ {"matrix": [0, 10], "x": 12, "y": 0},
+ {"matrix": [0, 11], "x": 13, "y": 0},
+ {"matrix": [0, 12], "x": 14, "y": 0},
+
+ {"matrix": [0, 13], "x": 15.25, "y": 0.5},
+ {"matrix": [0, 14], "x": 16.25, "y": 0.5},
+ {"matrix": [6, 12], "x": 17.25, "y": 0.5},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.25},
+ {"matrix": [1, 14], "x": 1, "y": 1.25},
+ {"matrix": [1, 1], "x": 2, "y": 1.25},
+ {"matrix": [1, 2], "x": 3, "y": 1.25},
+ {"matrix": [1, 3], "x": 4, "y": 1.25},
+ {"matrix": [1, 4], "x": 5, "y": 1.25},
+ {"matrix": [1, 13], "x": 6, "y": 1.25},
+ {"matrix": [1, 5], "x": 7, "y": 1.25},
+ {"matrix": [1, 6], "x": 8, "y": 1.25},
+ {"matrix": [1, 7], "x": 9, "y": 1.25},
+ {"matrix": [1, 8], "x": 10, "y": 1.25},
+ {"matrix": [1, 9], "x": 11, "y": 1.25},
+ {"matrix": [1, 10], "x": 12, "y": 1.25},
+ {"matrix": [1, 11], "x": 13, "y": 1.25, "w": 2},
+
+ {"matrix": [1, 12], "x": 15.25, "y": 1.75},
+ {"matrix": [6, 11], "x": 16.25, "y": 1.75},
+ {"matrix": [6, 10], "x": 17.25, "y": 1.75},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
+ {"matrix": [2, 14], "x": 1.5, "y": 2.25},
+ {"matrix": [2, 1], "x": 2.5, "y": 2.25},
+ {"matrix": [2, 2], "x": 3.5, "y": 2.25},
+ {"matrix": [2, 3], "x": 4.5, "y": 2.25},
+ {"matrix": [2, 4], "x": 5.5, "y": 2.25},
+ {"matrix": [2, 13], "x": 6.5, "y": 2.25},
+ {"matrix": [2, 5], "x": 7.5, "y": 2.25},
+ {"matrix": [2, 6], "x": 8.5, "y": 2.25},
+ {"matrix": [2, 7], "x": 9.5, "y": 2.25},
+ {"matrix": [2, 8], "x": 10.5, "y": 2.25},
+ {"matrix": [2, 9], "x": 11.5, "y": 2.25},
+ {"matrix": [2, 10], "x": 12.5, "y": 2.25},
+ {"matrix": [2, 11], "x": 13.5, "y": 2.25, "w": 1.5},
+
+ {"matrix": [2, 12], "x": 15.25, "y": 2.75},
+ {"matrix": [6, 9], "x": 16.25, "y": 2.75},
+ {"matrix": [6, 8], "x": 17.25, "y": 2.75},
+
+ {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
+ {"matrix": [3, 14], "x": 1.75, "y": 3.25},
+ {"matrix": [3, 1], "x": 2.75, "y": 3.25},
+ {"matrix": [3, 2], "x": 3.75, "y": 3.25},
+ {"matrix": [3, 3], "x": 4.75, "y": 3.25},
+ {"matrix": [3, 4], "x": 5.75, "y": 3.25},
+ {"matrix": [3, 13], "x": 6.75, "y": 3.25},
+ {"matrix": [3, 5], "x": 7.75, "y": 3.25},
+ {"matrix": [3, 6], "x": 8.75, "y": 3.25},
+ {"matrix": [3, 7], "x": 9.75, "y": 3.25},
+ {"matrix": [3, 8], "x": 10.75, "y": 3.25},
+ {"matrix": [3, 9], "x": 11.75, "y": 3.25},
+ {"matrix": [3, 10], "x": 12.75, "y": 3.25, "w": 2.25},
+
+ {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
+ {"matrix": [4, 14], "x": 2.25, "y": 4.25},
+ {"matrix": [4, 1], "x": 3.25, "y": 4.25},
+ {"matrix": [4, 2], "x": 4.25, "y": 4.25},
+ {"matrix": [4, 3], "x": 5.25, "y": 4.25},
+ {"matrix": [4, 4], "x": 6.25, "y": 4.25},
+ {"matrix": [4, 13], "x": 7.25, "y": 4.25},
+ {"matrix": [4, 5], "x": 8.25, "y": 4.25},
+ {"matrix": [4, 6], "x": 9.25, "y": 4.25},
+ {"matrix": [4, 7], "x": 10.25, "y": 4.25},
+ {"matrix": [4, 8], "x": 11.25, "y": 4.25},
+ {"matrix": [4, 11], "x": 12.25, "y": 4.25, "w": 2.75},
+
+ {"matrix": [4, 12], "x": 16.25, "y": 4.25},
+
+ {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 14], "x": 1.5, "y": 5.25},
+ {"matrix": [5, 1], "x": 2.5, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 4], "x": 4, "y": 5.25, "w": 7},
+ {"matrix": [5, 7], "x": 11, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 8], "x": 12.5, "y": 5.25},
+ {"matrix": [5, 11], "x": 13.5, "y": 5.25, "w": 1.5},
+
+ {"matrix": [5, 10], "x": 15.25, "y": 5.25},
+ {"matrix": [5, 12], "x": 16.25, "y": 5.25},
+ {"matrix": [6, 7], "x": 17.25, "y": 5.25}
]
},
-
"LAYOUT_tkl_7u_ansi_blocker": {
"layout": [
- {"x":0, "y":0},
- {"x":2, "y":0},
- {"x":3, "y":0},
- {"x":4, "y":0},
- {"x":5, "y":0},
- {"x":6.5, "y":0},
- {"x":7.5, "y":0},
- {"x":8.5, "y":0},
- {"x":9.5, "y":0},
- {"x":11, "y":0},
- {"x":12, "y":0},
- {"x":13, "y":0},
- {"x":14, "y":0},
- {"x":15.25, "y":0.5},
- {"x":16.25, "y":0.5},
- {"x":17.25, "y":0.5},
- {"x":0, "y":1.25},
- {"x":1, "y":1.25},
- {"x":2, "y":1.25},
- {"x":3, "y":1.25},
- {"x":4, "y":1.25},
- {"x":5, "y":1.25},
- {"x":6, "y":1.25},
- {"x":7, "y":1.25},
- {"x":8, "y":1.25},
- {"x":9, "y":1.25},
- {"x":10, "y":1.25},
- {"x":11, "y":1.25},
- {"x":12, "y":1.25},
- {"x":13, "y":1.25, "w":2},
- {"x":15.25, "y":1.75},
- {"x":16.25, "y":1.75},
- {"x":17.25, "y":1.75},
- {"x":0, "y":2.25, "w":1.5},
- {"x":1.5, "y":2.25},
- {"x":2.5, "y":2.25},
- {"x":3.5, "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":8.5, "y":2.25},
- {"x":9.5, "y":2.25},
- {"x":10.5, "y":2.25},
- {"x":11.5, "y":2.25},
- {"x":12.5, "y":2.25},
- {"x":13.5, "y":2.25, "w":1.5},
- {"x":15.25, "y":2.75},
- {"x":16.25, "y":2.75},
- {"x":17.25, "y":2.75},
- {"x":0, "y":3.25, "w":1.75},
- {"x":1.75, "y":3.25},
- {"x":2.75, "y":3.25},
- {"x":3.75, "y":3.25},
- {"x":4.75, "y":3.25},
- {"x":5.75, "y":3.25},
- {"x":6.75, "y":3.25},
- {"x":7.75, "y":3.25},
- {"x":8.75, "y":3.25},
- {"x":9.75, "y":3.25},
- {"x":10.75, "y":3.25},
- {"x":11.75, "y":3.25},
- {"x":12.75, "y":3.25, "w":2.25},
- {"x":0, "y":4.25, "w":2.25},
- {"x":2.25, "y":4.25},
- {"x":3.25, "y":4.25},
- {"x":4.25, "y":4.25},
- {"x":5.25, "y":4.25},
- {"x":6.25, "y":4.25},
- {"x":7.25, "y":4.25},
- {"x":8.25, "y":4.25},
- {"x":9.25, "y":4.25},
- {"x":10.25, "y":4.25},
- {"x":11.25, "y":4.25},
- {"x":12.25, "y":4.25, "w":2.75},
- {"x":16.25, "y":4.25},
- {"x":0, "y":5.25, "w":1.5},
- {"x":2.5, "y":5.25, "w":1.5},
- {"x":4, "y":5.25, "w":7},
- {"x":11, "y":5.25, "w":1.5},
- {"x":13.5, "y":5.25, "w":1.5},
- {"x":15.25, "y":5.25},
- {"x":16.25, "y":5.25},
- {"x":17.25, "y":5.25}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
+ {"matrix": [0, 3], "x": 4, "y": 0},
+ {"matrix": [0, 4], "x": 5, "y": 0},
+
+ {"matrix": [0, 5], "x": 6.5, "y": 0},
+ {"matrix": [0, 6], "x": 7.5, "y": 0},
+ {"matrix": [0, 7], "x": 8.5, "y": 0},
+ {"matrix": [0, 8], "x": 9.5, "y": 0},
+
+ {"matrix": [0, 9], "x": 11, "y": 0},
+ {"matrix": [0, 10], "x": 12, "y": 0},
+ {"matrix": [0, 11], "x": 13, "y": 0},
+ {"matrix": [0, 12], "x": 14, "y": 0},
+
+ {"matrix": [0, 13], "x": 15.25, "y": 0.5},
+ {"matrix": [0, 14], "x": 16.25, "y": 0.5},
+ {"matrix": [6, 12], "x": 17.25, "y": 0.5},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.25},
+ {"matrix": [1, 14], "x": 1, "y": 1.25},
+ {"matrix": [1, 1], "x": 2, "y": 1.25},
+ {"matrix": [1, 2], "x": 3, "y": 1.25},
+ {"matrix": [1, 3], "x": 4, "y": 1.25},
+ {"matrix": [1, 4], "x": 5, "y": 1.25},
+ {"matrix": [1, 13], "x": 6, "y": 1.25},
+ {"matrix": [1, 5], "x": 7, "y": 1.25},
+ {"matrix": [1, 6], "x": 8, "y": 1.25},
+ {"matrix": [1, 7], "x": 9, "y": 1.25},
+ {"matrix": [1, 8], "x": 10, "y": 1.25},
+ {"matrix": [1, 9], "x": 11, "y": 1.25},
+ {"matrix": [1, 10], "x": 12, "y": 1.25},
+ {"matrix": [1, 11], "x": 13, "y": 1.25, "w": 2},
+
+ {"matrix": [1, 12], "x": 15.25, "y": 1.75},
+ {"matrix": [6, 11], "x": 16.25, "y": 1.75},
+ {"matrix": [6, 10], "x": 17.25, "y": 1.75},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
+ {"matrix": [2, 14], "x": 1.5, "y": 2.25},
+ {"matrix": [2, 1], "x": 2.5, "y": 2.25},
+ {"matrix": [2, 2], "x": 3.5, "y": 2.25},
+ {"matrix": [2, 3], "x": 4.5, "y": 2.25},
+ {"matrix": [2, 4], "x": 5.5, "y": 2.25},
+ {"matrix": [2, 13], "x": 6.5, "y": 2.25},
+ {"matrix": [2, 5], "x": 7.5, "y": 2.25},
+ {"matrix": [2, 6], "x": 8.5, "y": 2.25},
+ {"matrix": [2, 7], "x": 9.5, "y": 2.25},
+ {"matrix": [2, 8], "x": 10.5, "y": 2.25},
+ {"matrix": [2, 9], "x": 11.5, "y": 2.25},
+ {"matrix": [2, 10], "x": 12.5, "y": 2.25},
+ {"matrix": [2, 11], "x": 13.5, "y": 2.25, "w": 1.5},
+
+ {"matrix": [2, 12], "x": 15.25, "y": 2.75},
+ {"matrix": [6, 9], "x": 16.25, "y": 2.75},
+ {"matrix": [6, 8], "x": 17.25, "y": 2.75},
+
+ {"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
+ {"matrix": [3, 14], "x": 1.75, "y": 3.25},
+ {"matrix": [3, 1], "x": 2.75, "y": 3.25},
+ {"matrix": [3, 2], "x": 3.75, "y": 3.25},
+ {"matrix": [3, 3], "x": 4.75, "y": 3.25},
+ {"matrix": [3, 4], "x": 5.75, "y": 3.25},
+ {"matrix": [3, 13], "x": 6.75, "y": 3.25},
+ {"matrix": [3, 5], "x": 7.75, "y": 3.25},
+ {"matrix": [3, 6], "x": 8.75, "y": 3.25},
+ {"matrix": [3, 7], "x": 9.75, "y": 3.25},
+ {"matrix": [3, 8], "x": 10.75, "y": 3.25},
+ {"matrix": [3, 9], "x": 11.75, "y": 3.25},
+ {"matrix": [3, 10], "x": 12.75, "y": 3.25, "w": 2.25},
+
+ {"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
+ {"matrix": [4, 14], "x": 2.25, "y": 4.25},
+ {"matrix": [4, 1], "x": 3.25, "y": 4.25},
+ {"matrix": [4, 2], "x": 4.25, "y": 4.25},
+ {"matrix": [4, 3], "x": 5.25, "y": 4.25},
+ {"matrix": [4, 4], "x": 6.25, "y": 4.25},
+ {"matrix": [4, 13], "x": 7.25, "y": 4.25},
+ {"matrix": [4, 5], "x": 8.25, "y": 4.25},
+ {"matrix": [4, 6], "x": 9.25, "y": 4.25},
+ {"matrix": [4, 7], "x": 10.25, "y": 4.25},
+ {"matrix": [4, 8], "x": 11.25, "y": 4.25},
+ {"matrix": [4, 11], "x": 12.25, "y": 4.25, "w": 2.75},
+
+ {"matrix": [4, 12], "x": 16.25, "y": 4.25},
+
+ {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 1], "x": 2.5, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 4], "x": 4, "y": 5.25, "w": 7},
+ {"matrix": [5, 7], "x": 11, "y": 5.25, "w": 1.5},
+ {"matrix": [5, 11], "x": 13.5, "y": 5.25, "w": 1.5},
+
+ {"matrix": [5, 10], "x": 15.25, "y": 5.25},
+ {"matrix": [5, 12], "x": 16.25, "y": 5.25},
+ {"matrix": [6, 7], "x": 17.25, "y": 5.25}
]
}
}
diff --git a/keyboards/percent/skog_lite/rules.mk b/keyboards/percent/skog_lite/rules.mk
index 752df26315..747ea2aae3 100644
--- a/keyboards/percent/skog_lite/rules.mk
+++ b/keyboards/percent/skog_lite/rules.mk
@@ -8,4 +8,3 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = i2c
diff --git a/keyboards/percent/skog_lite/skog_lite.c b/keyboards/percent/skog_lite/skog_lite.c
deleted file mode 100644
index c69843e617..0000000000
--- a/keyboards/percent/skog_lite/skog_lite.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2019 mechmerlin
- *
- * 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 "skog_lite.h"
diff --git a/keyboards/percent/skog_lite/skog_lite.h b/keyboards/percent/skog_lite/skog_lite.h
deleted file mode 100644
index 16dc70bf67..0000000000
--- a/keyboards/percent/skog_lite/skog_lite.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/* Copyright 2019 mechmerlin
- *
- * 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 ___ KC_NO
-
-// This a shortcut to help you visually see your layout.
-// The first section contains all of the arguments
-// The second converts the arguments into a two-dimensional array
-
-#define LAYOUT_tkl_ansi( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k6c, \
- k10, k1e, k11, k12, k13, k14, k1d, k15, k16, k17, k18, k19, k1a, k1b, k1c, k6b, k6a, \
- k20, k2e, k21, k22, k23, k24, k2d, k25, k26, k27, k28, k29, k2a, k2b, k2c, k69, k68, \
- k30, k3e, k31, k32, k33, k34, k3d, k35, k36, k37, k38, k39, k3a, \
- k40, k4e, k41, k42, k43, k44, k4d, k45, k46, k47, k48, k4b, k4c, \
- k50, k5e, k51, k54, k56, k57, k58, k5b, k5a, k5c, k67 \
-){ \
- { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
- { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \
- { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
- { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, ___, ___, k3d, k3e }, \
- { k40, k41, k42, k43, k44, k45, k46, k47, k48, ___, ___, k4b, k4c, k4d, k4e }, \
- { k50, k51, ___, ___, k54, ___, k56, k57, k58, ___, k5a, k5b, k5c, ___, k5e }, \
- { ___, ___, ___, ___, ___, ___, ___, k67, k68, k69, k6a, k6b, k6c, ___, ___ }, \
-}
-
-#define LAYOUT_tkl_7u_ansi( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k6c, \
- k10, k1e, k11, k12, k13, k14, k1d, k15, k16, k17, k18, k19, k1a, k1b, k1c, k6b, k6a, \
- k20, k2e, k21, k22, k23, k24, k2d, k25, k26, k27, k28, k29, k2a, k2b, k2c, k69, k68, \
- k30, k3e, k31, k32, k33, k34, k3d, k35, k36, k37, k38, k39, k3a, \
- k40, k4e, k41, k42, k43, k44, k4d, k45, k46, k47, k48, k4b, k4c, \
- k50, k5e, k51, k54, k57, k58, k5b, k5a, k5c, k67 \
-){ \
- { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
- { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \
- { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
- { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, ___, ___, k3d, k3e }, \
- { k40, k41, k42, k43, k44, k45, k46, k47, k48, ___, ___, k4b, k4c, k4d, k4e }, \
- { k50, k51, ___, ___, k54, ___, ___, k57, k58, ___, k5a, k5b, k5c, ___, k5e }, \
- { ___, ___, ___, ___, ___, ___, ___, k67, k68, k69, k6a, k6b, k6c, ___, ___ }, \
-}
-
-#define LAYOUT_tkl_7u_ansi_blocker( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k6c, \
- k10, k1e, k11, k12, k13, k14, k1d, k15, k16, k17, k18, k19, k1a, k1b, k1c, k6b, k6a, \
- k20, k2e, k21, k22, k23, k24, k2d, k25, k26, k27, k28, k29, k2a, k2b, k2c, k69, k68, \
- k30, k3e, k31, k32, k33, k34, k3d, k35, k36, k37, k38, k39, k3a, \
- k40, k4e, k41, k42, k43, k44, k4d, k45, k46, k47, k48, k4b, k4c, \
- k50, k51, k54, k57, k5b, k5a, k5c, k67 \
-){ \
- { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
- { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e }, \
- { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
- { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, ___, ___, k3d, k3e }, \
- { k40, k41, k42, k43, k44, k45, k46, k47, k48, ___, ___, k4b, k4c, k4d, k4e }, \
- { k50, k51, ___, ___, k54, ___, ___, k57, ___, ___, k5a, k5b, k5c, ___, ___ }, \
- { ___, ___, ___, ___, ___, ___, ___, k67, k68, k69, k6a, k6b, k6c, ___, ___ }, \
-}