K_TTY provides a keysequence interpreter for Linux (pseudo or normal) TTYs, taking its instructions in a language very similar to the (windows) keyman program, produced by Tavultesoft (http://www.tavultesoft.com/).
The K_TTY project consists of a kernel driver, a program to compile human-readable instruction files into byte code and miscelaneous support programs.
The documents below cover the main areas that I think you might need to know about.
General introduction to K_TTY.
The K_TTY Language.
Miscelaneous internal details.