I've got a new mouse which has 3 buttons which can be rebound with AHK. LControl, XButton1 and XButton2.
Now what I want to achieve is to only do something if the mouse sends LControl.
I have 2 ideas, but non of them seems to be possible:
1. Install only mouse hooks. I tried to achieve it with
Code: Select all
#UseHook, off
#InstallMousehook
2. get the current input device. But I can't find a solution to do this.
What do you recommend to do?