Keyboard Break-Codes

If i press the 'w'-button what could be send?

How about a 'w' when pressed and a 'W' when released?

Especially when i am doing it with the !=-Function.

Don't use not equal. You should have cases for 'w' and 'W' that do opposite things (turn motors on one way and off the same way).