From 7ff666340ca4de2447141b5327f758d52b4417cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Ku=C4=8Dera?= Date: Thu, 2 Jun 2022 18:17:47 +0200 Subject: [PATCH] [Keyboard] Acheron Shark alpha Encoder support (#17266) --- keyboards/acheron/shark/alpha/config.h | 4 ++++ keyboards/acheron/shark/alpha/rules.mk | 1 + 2 files changed, 5 insertions(+) diff --git a/keyboards/acheron/shark/alpha/config.h b/keyboards/acheron/shark/alpha/config.h index cd2d88129c0..493d267b517 100644 --- 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 . #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 index 507f362b266..a5b21418843 100644 --- 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