commit 7ff666340ca4de2447141b5327f758d52b4417cd parent f330ef12b6174f50f075cbb3f9f8250fc019579c Author: Václav Kučera <vaclav.kucera@mewssystems.com> Date: Thu, 2 Jun 2022 18:17:47 +0200 [Keyboard] Acheron Shark alpha Encoder support (#17266) Diffstat:
| M | keyboards/acheron/shark/alpha/config.h | | | 4 | ++++ |
| M | keyboards/acheron/shark/alpha/rules.mk | | | 1 | + |
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/keyboards/acheron/shark/alpha/config.h b/keyboards/acheron/shark/alpha/config.h @@ -30,6 +30,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROWS 4 #define MATRIX_COLS 12 +/* encoder pads */ +#define ENCODERS_PAD_A { B6 } +#define ENCODERS_PAD_B { B7 } + /* * Keyboard Matrix Assignments * diff --git a/keyboards/acheron/shark/alpha/rules.mk b/keyboards/acheron/shark/alpha/rules.mk @@ -17,6 +17,7 @@ NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output +ENCODER_ENABLE = yes LAYOUTS = ortho_4x12