Handle keys other than characters with shiftkey fix.