I've been dealing with keyboard issues for months and I could find the cause.
I formatted my machine last week and reinstalled everything.
Once again I had the same problem.
No matter what I type the keys will simply create the pattern "1234567890-=qwertyuiopasdfghjkl;'`\zxcvbnm,./-+\".
For example typing welcome in any windows application would give me "1234567", if I typed it again I would get "890-=qw"
When I've made it through the whole sequence the pattern will start again.
I accidentally discovered Zimbra was the cause.
I clicked on the insert url button and the problem started.
Once I got my keyboard back to normal I clicked insert url it started again, problem started again.
I rarely use the insert url button so it's not that can't be the only Zimbra function causing it.
The only way I've found to get out of the problem is to launch a new IE 8 window. I know Zimbra using Java heavily so I thought maybe it uses IE too? Or perhaps launching IE resets something Java related?
I've stopped using the Zimbra client and disabled the service. I have not had the problem since.
Windows 7 Ultimate w/all updates
Java 6 Update 18 (Latest)