fix encoder resolution for MacroPad10

This commit is contained in:
Stefan Misch 2023-02-14 23:04:35 +01:00 committed by xs5871
parent cbaddef9a6
commit dc9b5f4512

View File

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