Refactor the cmd_keycodes CMD_... macros. (dm)