Sending Programmatic Mouse Events to X

若如初见. 提交于 2019-12-02 02:12:01

I think you can use XSendEvent. There's some sample code here which uses XQueryPointer to populate most of the event fields.

If you just want to move the pointer, use XWarpPointer.

You need to be learning Xlib if you want the "raw" way to accomplish it.

If you want even MORE raw, you'll want to study the X protocol.

What you're asking about is pretty darn specialized knowledge. You should head over to the X.org mailing lists or X related newsgroups.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!