Ask Your Question

Node that generates key or mouse events at low level?

asked 2016-03-13 21:03:57 -0500

lucasw gravatar image

updated 2020-11-21 12:06:20 -0500

I'd like to generate keyboard and mouse presses at the X11 level, so applications or even other ros nodes that are reading the keyboard directly can be tested or remotely controlled.

I'll make one if it doesn't already exist.

edit retag flag offensive close merge delete


libxdo-dev and xdotool

lucasw gravatar image lucasw  ( 2016-03-13 22:51:33 -0500 )edit - but is using subprocess rather than libxdo

lucasw gravatar image lucasw  ( 2016-03-13 22:59:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-14 01:45:30 -0500

lucasw gravatar image - currently takes String inputs for key down, up, or key strings, and mouse absolute position and relative moves using opencv_apps/Point2D messages. Needs a window selection service, it only uses the current window now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-03-13 21:03:57 -0500

Seen: 319 times

Last updated: Mar 14 '16