diff options
author | Václav Kučera <vaclav.kucera@mewssystems.com> | 2022-06-02 18:17:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 09:17:47 -0700 |
commit | 7ff666340ca4de2447141b5327f758d52b4417cd (patch) | |
tree | 4b49811790cf54cd553e0c02ad884ba34f2963c8 /keyboards/acheron/shark | |
parent | f330ef12b6174f50f075cbb3f9f8250fc019579c (diff) | |
download | qmk_firmware-7ff666340ca4de2447141b5327f758d52b4417cd.tar.gz qmk_firmware-7ff666340ca4de2447141b5327f758d52b4417cd.zip |
[Keyboard] Acheron Shark alpha Encoder support (#17266)
Diffstat (limited to 'keyboards/acheron/shark')
-rw-r--r-- | keyboards/acheron/shark/alpha/config.h | 4 | ||||
-rw-r--r-- | 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 index cd2d88129c..493d267b51 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 <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 index 507f362b26..a5b2141884 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 |