Problemas Ttp223b y libreria u8g2

Mira el begin con todas las definiciones.

bool U8G2::begin(void)
bool U8G2::begin(uint8_t menu_select_pin, uint8_t menu_next_pin, uint8_t menu_prev_pin, uint8_t menu_up_pin = U8X8_PIN_NONE, uint8_t menu_down_pin = U8X8_PIN_NONE, uint8_t menu_home_pin = U8X8_PIN_NONE)

Estas son tus 6 posibles teclas

  • Description: Returns a key press event. The pin numbers of up to six pins must be set with the begin function.

getMenuEvent return values
U8X8_MSG_GPIO_MENU_SELECT
U8X8_MSG_GPIO_MENU_NEXT
U8X8_MSG_GPIO_MENU_PREV
U8X8_MSG_GPIO_MENU_HOME
U8X8_MSG_GPIO_MENU_UP
U8X8_MSG_GPIO_MENU_DOWN

si no las vas a usar le pones = U8X8_PIN_NONE
pero hay un par que si o si debes determinar.
UP/DOWN o al menos DOWN y un SELECT tal vez un HOME.
Hay que ver ejemplos.