Key Codes 

Key Codes is a simple and pragmatic utility to check keyboard states.