Add keyboard callback for Windows.

Only tested in Wine, but seems to work fine.
Update MSVC2010 build.