Migrate DIRECT_PINS to data driven (#19826)

This commit is contained in:
Ryan
2023-02-14 18:39:41 +11:00
committed by GitHub
parent 0b796b91a3
commit 2cdf99ae95
158 changed files with 560 additions and 1197 deletions

View File

@@ -17,19 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/*
BUTTON_MUTE = _BV(4),
BUTTON_STOP = _BV(0),
BUTTON_TRACK_PREVIOUS = _BV(1),
BUTTON_TRACK_NEXT = _BV(2),
BUTTON_PLAY_PAUSE = _BV(3),
*/
#define DIRECT_PINS \
{ \
{ B4, B0, B1, B2, B3 } \
}
/*
RE_CHANNEL_A = _BV(6),
RE_CHANNEL_B = _BV(5),

View File

@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
"direct": [
["B4", "B0", "B1", "B2", "B3"]
]
},
"debounce": 50,
"layouts": {
"LAYOUT": {