ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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

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.

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 image lucasw  ( 2016-03-13 22:51:33 -0500 )edit

https://github.com/ros-visualization/... - 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
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

Question Tools

1 follower

Stats

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

Seen: 423 times

Last updated: Mar 14 '16