Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -34,12 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Encoder Function */
|
||||
#define ENCODERS_PAD_A { E0 }
|
||||
#define ENCODERS_PAD_B { D7 }
|
||||
//#define ENCODER_DIRECTION_FLIP
|
||||
#define ENCODER_RESOLUTION 1
|
||||
|
||||
/* Audio Function */
|
||||
#define AUDIO_CLICKY
|
||||
#define AUDIO_PIN C6
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x6964",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "E0", "pin_b": "D7", "resolution": 1}
|
||||
]
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "F4",
|
||||
"num_lock": "F5",
|
||||
|
Reference in New Issue
Block a user