I use a Dvorak keyboard, not QWERTY, and the letters I type aren’t the ones that show up. You should capture the letter typed, not the key used.