Migrate some dip switch config to info.json (#22437)
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define DIP_SWITCH_PINS { B14, A15, A0, B9 }
|
||||
|
||||
#define MUSIC_MAP
|
||||
#undef AUDIO_VOICES
|
||||
#undef AUDIO_PIN
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dip_switch": {
|
||||
"pins": ["B14", "A15", "A0", "B9"]
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B12", "pin_b": "B13"}
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define DIP_SWITCH_PINS \
|
||||
{ B14, A15, A0, B9 }
|
||||
|
||||
#define MUSIC_MAP
|
||||
#undef AUDIO_VOICES
|
||||
#undef AUDIO_PIN
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dip_switch": {
|
||||
"pins": ["B14", "A15", "A0", "B9"]
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B12", "pin_b": "B13"}
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define DIP_SWITCH_PINS \
|
||||
{ B14, A15, A0, B9 }
|
||||
|
||||
#define MUSIC_MAP
|
||||
#undef AUDIO_VOICES
|
||||
#undef AUDIO_PIN
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
"rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dip_switch": {
|
||||
"pins": ["B14", "A15", "A0", "B9"]
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B12", "pin_b": "B13"}
|
||||
|
||||
@@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define DIP_SWITCH_PINS { D0, D1, D4, D6 }
|
||||
|
||||
// THK uses D5 for audio
|
||||
#undef AUDIO_PIN
|
||||
#define AUDIO_PIN D5
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"rows": ["A7", "A6", "A5", "A4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dip_switch": {
|
||||
"pins": ["D0", "D1", "D4", "D6"]
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B4", "pin_b": "B3"},
|
||||
|
||||
Reference in New Issue
Block a user