On Aug 29 at 10:21, Måns Rullgård spoke: > xtrapin can do it. From a script you could do it like this: > > xtrapin <<EOF > Event: KeyPress (2):det=109 scr=0 (0,0) root=32768 Msk=0 TS=5621 > Event: KeyPress (2):det=117 scr=0 (0,0) root=32768 Msk=0 TS=209 > Event: KeyPress (2):det=107 scr=0 (0,0) root=32768 Msk=0 TS=260 > Event: KeyRelease (3):det=107 scr=0 (0,0) root=32768 Msk=0 TS=143 > Event: KeyRelease (3):det=117 scr=0 (0,0) root=32768 Msk=0 TS=2892 > Event: KeyRelease (3):det=109 scr=0 (0,0) root=32768 Msk=0 TS=244 > EOF > > This was cut from the output of "xtrapout -e" while I pressed the keys > in question. > > You could also store those lines in file and use "xtrapin -f file". > Read man xtrap for more information. Thank you very much! On my keyboard the key events look a little different. But it works. Tanks. -Hanspeter _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86