From 371feda9ded08a727529475a698bb4d941f36ed5 Mon Sep 17 00:00:00 2001 From: VaclavKucera Date: Tue, 31 May 2022 11:18:08 +0200 Subject: [PATCH] encoder enabled --- 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 cd2d88129c0b..493d267b5172 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 507f362b2667..a5b214188430 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