Re: How to arbitrarily manipulate key events in X
Is there any way to do what XEvIE did? It seems to me that the the X Record extension (together with XTEST) could be one possibility. There are some limitations, for example, it is not possible to discard events. But it is possible to caputure all keyboard events, and in contrast to XEvIE, the extension is supported. One project that uses the X Record extension (among other approaches, which are not purely X) that you might find interesting is AutoKey: http://code.google.com/p/autokey/ A simple example of the use of the X Record extension (a keylogger) is found here: http://emg-2.blogspot.com/2008/01/xfree86xorg-keylogger.html Andreas ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to arbitrarily manipulate key events in X
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. Is there any way to do what XEvIE did? Some have suggested XInput2 could replace it. How mature is this method? //meingbg ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to arbitrarily manipulate key events in X
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, see https://bugs.freedesktop.org/show_bug.cgi?id=26705 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. Andreas ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg