I am designing a software which converts english to local Indian languages like Hindi, Tamil etc. I want to capture the key strokes of the user, convert it from english to appropriate language and send it to the current active window. I am able to capture the key presses using the input device event interface
. Now I need to send it on to the current active window. I know that display is managed by the X Window system. How to send the characters on to the active window? Is there any other alternative other than X Window?