question

youki avatar image
0 Votes"
youki asked DanielZhang-MSFT edited

MouseHook not working for Lenovo trackpad

Hello,
I want to hook the mouse actions of the trackpad but it doesn't work for the Wheel (tested for i.e.: Edge & Chrome & Excel), it only works for the buttons (left & right). Everything is hookable in Visual Studio.
When i move 2 fingers to scroll up or down nothing happens.

Console.WriteLine("Mousehook " + (MouseMessage)wParam);

I assume it's driver dependent but what could be a practicable solution and could it be working with any trackpad?

Regards

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DanielZhang-MSFT avatar image
0 Votes"
DanielZhang-MSFT answered

Hi youki,
For questions about MouseHook, I suggest you ask the question on the Microsoft Mousehook Community and you can get more professional answer.
Thank you for your understanding.
Best Regards,
Daniel Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

youki avatar image
0 Votes"
youki answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.