Move keych_t defn to global scope
Preliminary keystroke support.