Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -19,21 +19,6 @@
|
||||
|
||||
#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 DIRECT_PINS \
|
||||
{ \
|
||||
{ D4, D2, E6, B6, D7 } \
|
||||
}
|
||||
|
||||
// These pins are not broken out, and cannot be used normally.
|
||||
// They are set as output and pulled high, by default
|
||||
#define UNUSABLE_PINS \
|
||||
|
7
keyboards/ploopyco/trackball_mini/rev1_001/info.json
Normal file
7
keyboards/ploopyco/trackball_mini/rev1_001/info.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D4", "D2", "E6", "B6", "D7"]
|
||||
]
|
||||
}
|
||||
}
|
@@ -19,21 +19,6 @@
|
||||
|
||||
#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 DIRECT_PINS \
|
||||
{ \
|
||||
{ D4, D2, E6, B6, D7 } \
|
||||
}
|
||||
|
||||
// These pins are not broken out, and cannot be used normally.
|
||||
// They are set as output and pulled high, by default
|
||||
#define UNUSABLE_PINS \
|
||||
|
7
keyboards/ploopyco/trackball_mini/rev1_002/info.json
Normal file
7
keyboards/ploopyco/trackball_mini/rev1_002/info.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D4", "D2", "E6", "B6", "D7"]
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user