So cool!
Yeah, you would need a way to adjust the code to check the button presses in the middle of the LED sequence. As Santa_Impersonator suggested, adding ISR would be the best. Try looking at this tutorial for an idea if you have not already => [Processor Interrupts with Arduino . I have not tried connecting a Qwiic-enabled device’s interrupt pin before since my projects never required that level of control but that would be a good start. Keep in mind that the ATmega328P has two interrupts pins available and it’s on pin 2 and 3 => [Arduino reference: attachInterrupt(). It looks like you’ll reach this limit in your setup with the two Qwiic Keypads that are connected in your setup.
Good luck!
PS: Ah it looks like there was a page 2 on this thread that I didn’t see! It looks like you have already received some solutions and found a way to get it working. =)](attachInterrupt() - Arduino Reference)](https://learn.sparkfun.com/tutorials/processor-interrupts-with-arduino/all)