Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -31,8 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLED_SPLIT { 36, 36 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_LIMIT_VAL 120
|
||||
|
||||
#define ENCODERS_PAD_A { F5 }
|
||||
#define ENCODERS_PAD_B { D4 }
|
||||
#define ENCODERS_PAD_A_RIGHT { D4 }
|
||||
#define ENCODERS_PAD_B_RIGHT { F5 }
|
||||
|
@@ -8,8 +8,20 @@
|
||||
"pid": "0x0059",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "D4"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
"soft_serial_pin": "D2",
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "D4", "pin_b": "F5"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
@@ -29,8 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLED_NUM 70
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_LIMIT_VAL 120
|
||||
|
||||
#define ENCODERS_PAD_A { F4 }
|
||||
#define ENCODERS_PAD_B { F5 }
|
||||
#define ENCODERS_PAD_A_RIGHT { F5 }
|
||||
#define ENCODERS_PAD_B_RIGHT { F4 }
|
||||
|
@@ -8,8 +8,20 @@
|
||||
"pid": "0x4C4C",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F4", "pin_b": "F5"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
"soft_serial_pin": "D2",
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "F4"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
Reference in New Issue
Block a user