Know when last key was pressed

Joan Valduvieco joan at
Tue Dec 27 01:43:10 PST 2005

Has Xorg  a mechanism to know when the last key was pressed?
I'd like to disable trackpad when the user is typing and this information 
would be useful. :)
Now I must poll XQueryKeymap and I'd prefer to have the timestamp of the last 
key pressed is this possible?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the xorg mailing list