Found this after a few hours and will try it, keep in touch.
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
2 answers
Sort by: Most helpful
-
-
Daniel Zhang-MSFT 9,631 Reputation points
2021-03-15T01:48:56.057+00:00 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.