Key Codes
ready for Apple Silicon

Key Codes 2.2 is a now a Universal app that runs natively on both Intel and Apple silicon Macs.
Key Codes is a little utility that displays the key code, unicode value, and modifier keys state for any key combination you press. If you're a developer, this might be useful to you.