Migrate some dip switch config to info.json (#22437)
This commit is contained in:
parent
3a5e4253fc
commit
a0a6820c1b
42 changed files with 72 additions and 90 deletions
|
@ -78,8 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// iOS device need lessthan 100
|
||||
#define USB_MAX_POWER_CONSUMPTION 100
|
||||
#endif
|
||||
|
||||
#define DIP_SWITCH_MATRIX_GRID { \
|
||||
{1, 0}, {2, 0}, {3, 0}, {3, 1}, {3, 2}, {3, 3}, \
|
||||
{7, 3}, {7, 2}, {7, 1}, {7, 0}, {6, 0}, {5, 0} \
|
||||
}
|
||||
|
|
|
@ -8,6 +8,12 @@
|
|||
"rows": ["D3", "D2", "E6", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dip_switch": {
|
||||
"matrix_grid": [
|
||||
[1, 0], [2, 0], [3, 0], [3, 1], [3, 2], [3, 3],
|
||||
[7, 3], [7, 2], [7, 1], [7, 0], [6, 0], [5, 0]
|
||||
]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6",
|
||||
"levels": 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue