Key press simulation in FC
Hello,
i did a search on this forums/google but did not find a clear explanartion yet. How would i go about simulating complex key combination being pressed in Linux Fedora(lets say ALT-TAB) or Alt TAB followed by release of TAB while ALT is still pressed down. (I need to my voice software to display and keep up a task switch window) and this is the best way to go i believe. Would i have to go into assembly for this or is there a way to do this in C or even via a shell script? If you are not sure even pointing me in the right direction would be greatly appreciated! Thank you. |
I believe you can do this using the X API or, for a terminal, in curses.
For example with XSendEvent or XTestFakeKeyEvent. |
All times are GMT -5. The time now is 03:03 PM. |