|

楼主 |
发表于 2004-1-16 03:41:30
|
显示全部楼层
Hi kj501,
Thank you for your reply.
I have done research on it for a long time. I don't think there's a xlib function could intercept the X events like the hook in Windows. Do you have any suggestion on it?
I have tried other extension library such as X Record. However, I can only get a copy of the events but intercept them. I am thinking about X Trap extension library. If anybody here has exprience on it, please reply or send email to me.
I also wonder if there's a system call could disable keyboard such as a device driver. If I can disable the keyboard at the level. X server won't generate X keyboard events. It is also a workaround for my current project.
Thank you.
--------------------
I cannot figure out how to input Chinese in English UI on Gentoo. |
|