/dev/input/event *的格式 [英] Format of /dev/input/event*
本文介绍了/dev/input/event *的格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
位于/dev/input/event*
的字符设备的格式"是什么?
What is the "format" of the character devices located in /dev/input/event*
?
换句话说,如何解码字符流?一个Python示例将不胜感激.
In other words, how can I decode the character stream? A Python example would be greatly appreciated.
推荐答案
就在 Input.py 模块.您还需要 event.py 模块.
Right here in the Input.py module. You'll also need the event.py module.
这篇关于/dev/input/event *的格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文