I'm somewhat new to Linux development, and I need to know how to send keystrokes programmatically from a C program. What libraries/code do I have to use to do this? In case it's somehow dependent on your GUI/Window Manager, I use KDE 3.5.
I'm somewhat new to Linux development, and I need to know how to send keystrokes programmatically from a C program. What libraries/code do I have to use to do this? In case it's somehow dependent on your GUI/Window Manager, I use KDE 3.5.
send them where?
To whichever program is active. Basically, just make it do whatever it would do if I pressed the key on the keyboard. The program that will do this will be running in the background.