How to detect the input device if mouse and touchpad are both enabled

后端 未结 6 1622
小鲜肉
小鲜肉 2021-01-15 12:14

I already have a WH_MOUSE_LL hook in my application, but need a different behavior for Mouse and Touchpad.

I know about Raw Input API, but have no idea how to use it

6条回答
  •  梦谈多话
    2021-01-15 12:40

    Disassemble some Touchpad driver and see how it works. This is the only way to go, cause drivers might use different methods of mouse emulation. And don't forget to vote for my answer ;).

提交回复
热议问题