fix: encoder resolution for Knob 1

This commit is contained in:
Stefan Misch 2023-02-14 23:03:18 +01:00 committed by xs5871
parent a28df47199
commit 804b5ec575

View File

@ -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)