All of the Old Keyboard handling code is in the "plugin/keyboard" subdirectory. Latest addition is SLANG.