Write keycode spec