Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Button swapping

Status
Not open for further replies.

DerfLongshanks

Technical User
Nov 20, 2002
5
US
I currently use the mouse left handed but some programs I run lock up when it is configured that way, ususally I remember to change the mouse buttons over after starting the program and it locks up. This can be annoying so I am trying to have it swap buttons automaticly when I start the program.

Does anyone know how to switch mouse buttons (ie left to right handed etc)using a batch file or something?
Thanks in advance for any help
 
You could make 2 .reg files to put on your desktop. Right.reg and Left.reg

Double click on them to swap the buttons function.

Open regedit and look for a key similar to this here.
Notice the L_BtnAssignment is 0 or 1 , depending left or right.


Right
[HKEY_CURRENT_USER\Control Panel\Microsoft Input Devices\Mouse]
"L_BtnAssignment"=dword:00000000
"R_BtnAssignment"=dword:00000001

Left
[HKEY_CURRENT_USER\Control Panel\Microsoft Input Devices\Mouse]
"L_BtnAssignment"=dword:00000001
"R_BtnAssignment"=dword:00000000

You may have another mouse of course, so other keys, just look for mouse in the [HKEY_CURRENT_USER\Control Panel
When you find it, rightclick on the key to export it.
save it as left.reg or right.reg

BEWARE !! there will be more lines in it then these above, that is normal, I left them out for clarity, you leave them in. The solution is out there. [morning]
 
If you happen to be using a Microsoft Mouse, get the latest Intellipoint software. This allows you to set different button assinments for different programs.
 
On your mouse setting you can also set your button options for left handed users.
 
Thanks for the above,

Microsoft Intellipoint software is available on their website and works fine with my genius mouse.

"Failure comes only when one stops making an effort" Matsushita Konosuke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top