Keyboard Status Monitor (key-mon) is a Linux tool for displaying keyboard and mouse status on the screen, ideal for creating screencasts.