Ctrl2cap - Sysinternals
This is a kernel-mode driver that demonstrates keyboard input filtering in order to turn caps-locks into control keys.