Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -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
|
||||
|
@@ -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}]
|
||||
|
Reference in New Issue
Block a user