MouseUnSnag / MouseUnSnag

On a Windows system with multiple monitors, allow the mouse to move freely and not get stuck on corners or edges.
MIT License
147 stars 28 forks source link

Remove "caps lock logic" and establish baseline rules for functionality of application #6

Closed patricknelson closed 2 years ago

patricknelson commented 2 years ago

There's some functionality in MouseUnSnag that is undocumented and doesn't really adhere to what I'd expect to be the core thesis in terms of functionality for this application (i.e. preventing the mouse from getting stuck in corners). The only caveat to this should ever be Dale's original "wrap" functionality (just a classic carryover).

I noticed this in the code and found it pretty surprising and I'd like to start a discussion to determine if this should remain present: Essentially, if you hold down caps lock, the mouse slows down. Of course, CAPS is still activated (or deactivated) when pressing, as you'd expect. It's just... weird to me.

https://github.com/MouseUnSnag/MouseUnSnag/blob/master/MouseUnSnag/MouseHookHandler.cs#L46-L63