linux查看input event devices

linux查看event devices有两种方法:
(1)

cat /proc/bus/input/devices

结果如下:
这里写图片描述

(2)使用python包evdev (https://pypi.python.org/pypi/evdev),下载安装
运行如下图命令:
这里写图片描述

参考链接:
1、http://blog.csdn.net/yiwuxue/article/details/26347367
2、http://python-evdev.readthedocs.io/en/latest/tutorial.html

猜你喜欢

转载自blog.csdn.net/ouening/article/details/79341020