fix encoder resolution for MacroPad10
This commit is contained in:
parent
cbaddef9a6
commit
dc9b5f4512
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user