Move miscellaneous defines to data driven (#21382)

This commit is contained in:
Ryan
2023-07-03 07:40:13 +10:00
committed by GitHub
parent 9ab16e62f7
commit 023035f462
69 changed files with 103 additions and 236 deletions

View File

@@ -16,8 +16,5 @@
#pragma once
#define ENCODERS_PAD_A { GP5 }
#define ENCODERS_PAD_B { GP4 }
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U

View File

@@ -9,6 +9,11 @@
"vid": "0xCB3A",
"device_version": "1.1.0"
},
"encoder": {
"rotary": [
{"pin_a": "GP5", "pin_b": "GP4"}
]
},
"matrix_pins": {
"direct": [
["GP8", "GP7", "GP6"]