Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个需要从鼠标和键盘设备文件中读取的软件。我可以在/sys/proc/bus/input/devices. 但我希望我的程序能够自动检测它们并用于其目的。我怎样才能做到这一点?
/sys/proc/bus/input/devices