]> git.donarmstrong.com Git - qmk_firmware.git/commit
Remove the need to specify NUM_OF_ENCODERS for the Encoder feature (#6328)
authorDrashna Jaelre <drashna@live.com>
Tue, 16 Jul 2019 08:40:54 +0000 (01:40 -0700)
committerskullydazed <skullydazed@users.noreply.github.com>
Tue, 16 Jul 2019 08:40:54 +0000 (01:40 -0700)
commitf6c7e114260890292dcd12645db7fecd64167973
tree0edeec134b20c100e793886d7b5b55f0e1917c19
parent97a3f806c4740213d7b133f0be7c2f51d228593b
Remove the need to specify NUM_OF_ENCODERS for the Encoder feature (#6328)

* Remove the need to set NUM_OF_ENCODERS

Instead, calculate the size of the array, and use that instead

* Add hack for split common support

* Remove NUM_OF_ENCODERS from keyboard config

Can be reverted, if needed
20 files changed:
docs/feature_encoders.md
keyboards/abstract/ellipse/rev1/config.h
keyboards/boston_meetup/2019/config.h
keyboards/cannonkeys/ortho75/config.h
keyboards/cannonkeys/satisfaction75/config.h
keyboards/hadron/ver3/config.h
keyboards/handwired/daishi/config.h
keyboards/keebio/bdn9/config.h
keyboards/keebio/iris/rev3/config.h
keyboards/maxr1998/pulse4k/config.h
keyboards/planck/ez/config.h
keyboards/planck/rev6/config.h
keyboards/preonic/rev3/config.h
keyboards/rgbkb/sol/config.h
keyboards/rgbkb/zen/rev2/config.h
keyboards/rgbkb/zygomorph/rev1/config.h
keyboards/ropro/config.h
keyboards/tetris/config.h
quantum/encoder.c
quantum/split_common/transport.c