How to auto keystroke with Xlib?

Hey,i am very very freshman with X window programming.
In order to free my hand when I read ebooks I need one simple programe to automaticly press down arrow.

The idea is simple I hope it looks like xkill command no GUI and works for any apllications.

I've been googling for two days but i haven't got any useful information about automatic keystroke with Xlib.

Hope someone here could help me.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!