Put keycodes to ignore for keypress directives into an array.