Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
76cc7fe109
commit
ace372d90d
623 changed files with 1593 additions and 4581 deletions
|
@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* NCC-1701-KB PCB default pin-out */
|
||||
#define MATRIX_ROW_PINS { D4, D6, D7 }
|
||||
#define MATRIX_COL_PINS { B4, B5, B6 }
|
||||
|
||||
/* RGB BackLight */
|
||||
#define RGB_DI_PIN B7
|
||||
#define RGBLED_NUM 4
|
||||
|
@ -36,6 +31,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
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x1701",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B4", "B5", "B6"],
|
||||
"rows": ["D4", "D6", "D7"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D0", "pin_b": "D1"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue