Quickest way to test keys

What is quickest way to test what keys are pressed in keyboard and it needs to be Leopard compatible? Jon’s Commands dont work anymore.