据我所知,在Linux中,来自硬件设备的输入可以被认为是将数据写入文件,所以我认为在不使用X的情况下向/dev/input/mice编写一些东西来模拟鼠标点击是很有可能的。这就是我所做的:(click the right button of your mouse,and then press ctrl+c to terminate it.)
r
File "~/.local/lib/python3.3/site-packages/pyglet/lib.py", line 118, in load_libraryAttributeError: 'OSError' object has no attribute 'message'
我已经通过运行glxgears (works)测试</em