PbCounter is a small Windows utility that counts how many times each mouse button and each keyboard key is pressed. With these statistics it does three things:
Display the counters, obviously :)
Create an heat map to put in evidence the most used keys on your keyboard
Upload the statistics at regular interval to a web page of your choice (an example PHP script here or source)
It is purposely compatible with scripts made for Mousotron. It takes less than 3MB of ram and uses very little CPU.
Configuration can be done by editing the ini file, more information included in the help file. Important: While it tracks how many times each key is pressed, it doesn't record what you type (it is not a keylogger).
The program is free to use and modify under the MIT license. If you want to compile it you will need PureBasic 5+ (The demo won't work as PbCounter uses the win32 API).