automatic sensitivity switch

Aug 29, 2012 at 5:09 PM
Edited Aug 29, 2012 at 5:11 PM

i added some stuff i found on the web to make it switch automatically between speeds by detecting which mouse is currently moving. i was afraid of creating some performance issues but it seems to be okay.

this probably won't work everywhere because i checked which of the 2 mice is the touchpad simply by checking if the device name contained the word "touchpad". i believe this is true for most synaptics touchpads though and those are pretty common, so i guess it will work for most people.

i also made the run at startup option create a shortcut in the startup folder instead of the registry thing. this way the app is simply one exe file and it doesn't need any elevated permissions.

the resulting code is probably pretty messy since i had no idea what exactly i was doing most of the time... i'm pretty new at all this...

in any case, if anyone is interested in the code or simply the exe let me know =]

edit: btw i've been working on win7 64bit and it worked flawlessly