I have a microsoft surface with a surface pen. This pen has 2 side : eraser and tip.
I want authotkey to detect when I touch the eraser side when I am inside chrome browser. With the method I have found, autohotkey only detect a "simple" mouse left click (for the moment it doesn't support the surface pen). (please note that I DO NOT want to rebind the eraser button, but the eraser "touch" on screen).
Here is the microsoft api for detecting eraser screen touch :
https://docs.microsoft.com/en-us/uwp/ap ... properties
I am interested by the "IsEraser" propertie
The api is available in : c++, c#, VB, javascript.
Can anyone help me binding this api with AHK ?
The final goal is : when AHK detect a "standard" left click, it calls the microsoft api to check is the click is in fact "eraser side", if yes, it trigger my task
Thanks for your help
![Smile :)](./images/smilies/icon_e_smile.gif)