Migrate DIRECT_PINS to data driven (#19826)

This commit is contained in:
Ryan
2023-02-14 18:39:41 +11:00
committed by GitHub
parent 0b796b91a3
commit 2cdf99ae95
158 changed files with 560 additions and 1197 deletions

View File

@@ -16,17 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
/* key matrix pins */
#define DIRECT_PINS { \
{ NO_PIN, D0, D1 }, \
{ D4, D3, D2 }, \
}
#define RGB_DI_PIN C6
#define RGBLED_NUM 1 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING

View File

@@ -10,6 +10,12 @@
},
"processor": "atmega32u2",
"bootloader": "lufa-dfu",
"matrix_pins": {
"direct": [
[null, "D0", "D1"],
["D4", "D3", "D2"]
]
},
"layouts": {
"LAYOUT": {
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}]