Help me with new kindle touch keyboard map input

I am struggling to add a new keyboard into my Kindle Touch. I am stuck with compiling the files necessary to install kindle touch keyboard map input. I tried creating a new directory in /usr/share/keyboard/ then I copied the renamed files and there appear a new keyboard settings. But when I tried to select it, my Kindle has restarted. So there must be something wrong with the way I installed the keyboard.
