Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -17,23 +17,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 { B2,B6 }
|
||||
#define MATRIX_COL_PINS { D7,E6,B4,B5 }
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
//#define DIODE_DIRECTION COL2ROW
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
#define RGB_DI_PIN D4
|
||||
#define RGBLED_NUM 8
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
7
keyboards/takashiski/namecard2x4/rev2/info.json
Normal file
7
keyboards/takashiski/namecard2x4/rev2/info.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"matrix_pins": {
|
||||
"cols": ["D7", "E6", "B4", "B5"],
|
||||
"rows": ["B2", "B6"]
|
||||
},
|
||||
"diode_direction": "ROW2COL"
|
||||
}
|
Reference in New Issue
Block a user