Key Codes is a little utility that displays the key code, unicode value, and modifier keys state for any key combination you press. As a developer, you might find this to be useful.