I updated the ESP32 board definition and updated ESP32Encoder to the latest value. Now the encoder doesn't work right, showing 0 as a count or -1, but never counting up or down like I used to.
I've experimented with various pull-up and pull-down pin settings, and have had no improvement.
I'm using Pins 21 and 22 on an ESP32 Dev Module, with the center pin connected to ground. Similar to the setup used in this issue:
#11
That confuses me slightly, as this issue seems to indicate that the built in pull is down not up: #7
Any ideas?