WLED with a GPIO based button

I’m attempting to create a notification block with RGB. I was wondering if it was possible with WLED to use more of the GPIO pins on an esp8266 to handle different tasks in Home Assistant. An example would to be clearing the current notification. Is that possible?

(Refer to images)

Looking into it I found the information on the repo. Macros - WLED Project