simplified the reading of zkbd keycodes