From dc9b5f451299c3d579ac877d51183cb42e996836 Mon Sep 17 00:00:00 2001 From: Stefan Misch Date: Tue, 14 Feb 2023 23:04:35 +0100 Subject: [PATCH] fix encoder resolution for MacroPad10 --- boards/anavi/macro-pad-10/code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/anavi/macro-pad-10/code.py b/boards/anavi/macro-pad-10/code.py index 6affbaf..543185a 100644 --- a/boards/anavi/macro-pad-10/code.py +++ b/boards/anavi/macro-pad-10/code.py @@ -78,6 +78,7 @@ keyboard.keymap = [ # Rotary encoder that also acts as a key encoder_handler = EncoderHandler() +encoder_handler.divisor = 2 encoder_handler.pins = ((board.D8, board.D7, board.D9),) encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),) keyboard.modules.append(encoder_handler)