so it´s simple to add Encoder.in configuration.h set #define FEATURE_UI_KEYS 1in uiconfig.huncomment // UI_KEYS_INIT_CLICKENCODER_LOW(33,31); and replace the pin numbers by yoursdo the same for //UI_KEYS_CLICKENCODER_LOW_REV(33,31)similar for button , assign pin number/functionso at least the part in your uiconfig.h should be void uiInitKeys() {
#if UI_HAS_KEYS!=0
UI_KEYS_INIT_CLICKENCODER_LOW(33,35);
UI_KEYS_INIT_BUTTON_LOW(37); // push button, connects gnd to pin
#endif
}
void uiCheckKeys(uint16_t &action) {
#if UI_HAS_KEYS!=0 UI_KEYS_CLICKENCODER_LOW_REV(33,35);
UI_KEYS_BUTTON_LOW(37,UI_ACTION_OK); // push button, connects gnd to pin
#endif
}
think that should work for you, if Encoder direction is wrong, just swap the pin numbers