How to arbitrarily manipulate key events in X

wettstein509 at wettstein509 at
Mon Mar 22 10:52:44 PDT 2010

> I've written a small app that among other things allows me to let any
> key act as both a modifier key and a character key at the same time.

I want to do the same.  My approach up to now is to use an input method,

But even if this was implemented, using an input method to reuse a
modifier will have drawbacks: It is not possible to create events with
nonzero status field, and while it is possible to create things like
BackSpace, not all applications interpret it correctly.  Anyway, for me,
it would be good enough.

A manipulation possibility as you describe it would be even better.
>From what I understand, the X Event Interception Extension once has been
a way, but according to the Xorg Wiki, it is dead.


More information about the xorg mailing list