The keymap knows whether the key should repeat or not. E.g. no need to trigger repeat for modifier keys.