Ask Your Question
0

Node that generates key or mouse events at low level?

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

lucasw gravatar image

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.

http://www.doctort.org/adam/nerd-note...

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

edit retag flag offensive close merge delete

Comments

libxdo-dev and xdotool

lucasw gravatar imagelucasw ( 2016-03-13 22:51:33 -0500 )edit

https://github.com/ros-visualization/... - but is using subprocess rather than libxdo

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

1 Answer

Sort by ยป oldest newest most voted
0

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

lucasw gravatar image

https://github.com/lucasw/xdo_ros - 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

Stats

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

Seen: 113 times

Last updated: Mar 14 '16