Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -27,9 +27,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define TAPPING_TERM 200
|
||||
|
||||
/* Encoder */
|
||||
#define ENCODERS_PAD_A { F5 }
|
||||
#define ENCODERS_PAD_B { F4 }
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
||||
#define TAP_CODE_DELAY 50
|
||||
|
@@ -3,6 +3,11 @@
|
||||
"pid": "0x0040",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "F4"}
|
||||
]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina"
|
||||
}
|
||||
|
Reference in New Issue
Block a user