Event for button press in lovelace UI

Currently working with the manual alarm control panel. I’d like to trigger an event whenever a key on the alarm pad ui is pressed

So far as I can see tell events are focused around the alarm being triggered or not, or activated or deactivated. I haven’t found anything in the docs about detecting attempts to activate or deactivate.

So I’m curious if anyone has attempted something similar. Could be useful for example to trigger a camera.