As an academic project we are trying to make a software for Linux that will be used to write Bengali(Phonetic).To do this we need keyboard hooking in Linux. But i have found there's not so much resource available on keyboard hooking. Is there any API in Linux for hooking? Is there any good documentation for hooking in Linux?