[Vala] Getting/sending sequence of keyboard keys to/from active application



Hello.
I want to write a program which should record pressed sequences of keys and
if it receives some shortcut key it will
send delete key to erase wrong typed content, then it will convert from one
language characters to an another (according to some translation map) and
then send them again to the active application.
It will help people who forgets to switch typing language when they type...
Maybe some one knows what I should look for? How to hook to an active
application event listener or some how communicate
directly with the X server?
Thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]