There are three keyboard events that you can capture: keyup, keydownand keypress. The first two behave as you noticed, and the last behaves as you think.
You need to understand the difference between the key and the symbol (s) associated with this key.
jQuery doco ( , ), keyup keydown keyCode, , "A" "a" , "2" "@", - , "2" "W" "2" . event.shiftKey , . , , Ctrl, Home ..
, keypress , , "A" "a" keyCodes, "2" "@". keypress .
(, - jQuery, "" JavaScript, jQuery . , jQuery , event.which , event.which , event.keyCode.)