diff options
Diffstat (limited to 'keyboards/macrocat')
-rw-r--r-- | keyboards/macrocat/config.h | 4 | ||||
-rw-r--r-- | keyboards/macrocat/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/macrocat/config.h b/keyboards/macrocat/config.h index f74f3d9055..0d14bca0ea 100644 --- a/keyboards/macrocat/config.h +++ b/keyboards/macrocat/config.h @@ -3,8 +3,4 @@ #pragma once - -/* rotary encoder */ -#define ENCODERS_PAD_A { D3 } -#define ENCODERS_PAD_B { D2 } #define ENCODER_SWITCH B7 diff --git a/keyboards/macrocat/info.json b/keyboards/macrocat/info.json index 421f1283e1..47dbbc6d9a 100644 --- a/keyboards/macrocat/info.json +++ b/keyboards/macrocat/info.json @@ -24,6 +24,11 @@ "pid": "0x8086", "vid": "0x2022" }, + "encoder": { + "rotary": [ + {"pin_a": "D3", "pin_b": "D2"} + ] + }, "layout_aliases": { "LAYOUT_numpad_4x4": "LAYOUT_ortho_4x4" }, |