Browser Events get pressed key

Hello,

Apologies if this has been asked before. I wanted to know if there’s a way to modify the browser events extension so that it returns which key was pressed / released instead of having to manually check for every single key.

Thank you.