Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问哪吒接USB鼠标之后 /dev/input/eventX /dev/input/mouseX /dev/input/mice 这几个设备有神马区别?

    MR Series
    2
    3
    917
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tigger
      tigger LV 7 last edited by

      请问哪吒接USB鼠标之后 /dev/input/eventX /dev/input/mouseX /dev/input/mice 这几个设备有神马区别?

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        测试了一下,

        /dev/input/mice 设备一直存在,不管有没有插鼠标
        /dev/input/mouseX 拔插鼠标设备节点会增删

        /dev/input/mice 与 /dev/input/mouseX 出来的数据一样

        0a44fc93-bdef-4cc2-93b0-869eb6b41a58-image.png

        /dev/input/mouseX 是旧输入设备接口
        /dev/input/eventX 是新输入设备接口 ?

        1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 last edited by

          QQ图片20211007094939.jpg

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策