Assign Mouse Buttons in Visual Studio 2008

允我心安 提交于 2019-12-04 02:25:39

While AutoHotKey was interesting, it doesn't really do what I want to do, which is map buttons to keys in an application-specific context.

I ended up finding this add-in: http://www.codeproject.com/KB/macros/MouseNavi.aspx

which I just modified and threw into the AddIns directory for Visual Studio.

For anyone still looking for a solution that will work in any version of Visual Studio (as I was), I found X-Mouse Button Control.

You can map your commands to whatever keyboard shortcut you like and then use X-Mouse Button Control to send those keystrokes only to devenv.exe.

First you'll have to add an application profile for devenv.exe. Then, to map the keystrokes, just select "Simulated Keys" in the dropdown box next to the mouse button you want. Follow the prompts to set the keystrokes, and you're all set.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!