getArrowKey is more generic, renamed into getKey
(fixes #7)