From 804b5ec575679eed1c75cf45255076f6cad5d558 Mon Sep 17 00:00:00 2001 From: Stefan Misch Date: Tue, 14 Feb 2023 23:03:18 +0100 Subject: [PATCH] fix: encoder resolution for Knob 1 --- boards/anavi/knob1/code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/anavi/knob1/code.py b/boards/anavi/knob1/code.py index c3d369a..1245edf 100644 --- a/boards/anavi/knob1/code.py +++ b/boards/anavi/knob1/code.py @@ -15,6 +15,7 @@ knob.extensions.append(media_keys) # Rotary encoder that also acts as a key encoder_handler = EncoderHandler() +encoder_handler.divisor = 2 encoder_handler.pins = ((board.D1, board.D2, board.D0),) encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),) knob.modules.append(encoder_handler)