dom/event/keyboard: fix #code and #key