There are serval macros available to configure the behaviour of the GFX-Library. HAL macros: #define HAL_USE_GFX // enables the GDISP sub system. This is essentially needed to use the display #define HAL_USE_TOUCHPAD // enables the TouchPad sub system. This is essentially needed to use the touchpad GDISP macors: #define GDISP_ TouchPAD macros: #define TOUCHPAD_