getting all kbd events

Timothy S. Nelson wayland at
Wed Jul 8 02:54:58 PDT 2009

On Wed, 8 Jul 2009, Nokan Emiro wrote:

> Hi,
> The next simple program tries to subscribe to all keyboard events, and print a short
> message on all received ones.  I expected to see the short message on all keypresses, for
> example if I press 'a', 'b', ..., '1', '2', ...,  or 'F1', 'F2', etc.  But this program
> prints messages only on Alt, Control, Shift, and Windows keys.  How can I change the
> XkbSelectEvents's parameters to be messaged on all keypresses?

 	I'm not an X programmer, but doesn't xev do this already?  And if so, 
couldn't you just look at the xev source?


| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayland at    | I am                           |

Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-

More information about the xorg mailing list