I don’t know about you but when I twisted the knob on my encoder clockwise, values went down when I expected them to go up. To fix this, I went into pins.h under the PICA section (because I’m using PICA and not RAMPS) and changed the following:
#define BTN_EN1 47
#define BTN_EN2 48
#define BTN_EN1 48
#define BTN_EN2 47
everything seems to be working. Hope this helps someone.