Hi!
You can fake events in (at least) two ways in X. One way is by using
XSendEvent and another is by using the XTest extension.
When using XSendEvent you can check in your application if the was sent
with this function. Some sample code:
XEvent ev;
XNextEvent(&ev);
if (ev.xkey.send_event
Hello All,
How to differentiate the Fake Event from Normal Event ?
TIA,
--
Bharathi S, IndLinuX Team, (__)
DON Lab,TeNeT Group, oo )
IIT-Madras, Chennai-INDIA. (_/\
Known is DROP, Unknown is OCEAN.
___
XFree86 mailing list
[EMAIL PROTECT
2 matches
Mail list logo