Keyboard files are text files that define the X Protocol Key Symbols (Keysyms) that are mapped to keys on your keyboard. By default, they have the extension .kbf.