is there a way to check how to get the panel name??

I need it since i'm controlling a hardware input for the game and I want to know in the menu which button is being press (not using mouse)

Thanks