Overclock.net › Forums › Software, Programming and Coding › Operating Systems ›  Switch primary and secondary buttons script
New Posts  All Forums:Forum Nav:

Switch primary and secondary buttons script

post #1 of 4
Thread Starter 
Hello guys i have windows 10 how can i make a script to Switch primary and secondary buttons without having to go threw control panel ect everytime.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
5820k Asus X99-s saphhire 295x2 gskill 4 2400mhz 16gb 
Hard DriveOSMonitorKeyboard
samsung 850evo 512gb Windows 8.1 64  Samsung 24 1080p PHILIPS BDM4065UC 
PowerCase
Thermaltake Toughpower 1200 Watt Nzxt H440 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
5820k Asus X99-s saphhire 295x2 gskill 4 2400mhz 16gb 
Hard DriveOSMonitorKeyboard
samsung 850evo 512gb Windows 8.1 64  Samsung 24 1080p PHILIPS BDM4065UC 
PowerCase
Thermaltake Toughpower 1200 Watt Nzxt H440 
  hide details  
Reply
post #2 of 4
I found the following information here: SuperUser Mouse Button Swap - Win7

I tested this on my Win10 machine and it works as advertised.

One thing to note, when compiling using the given command, you'll need to be in the directory where the swapmouse.cs is located or it willf fail.

I've attached a zip file with both the .cs and the .exe if you would rather just download it.
swapmouse.zip 2k .zip file
First Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 4690K Asus Z97-A Gigabyte GeForce GTX 970 mini Crucial 8GB 
Hard DriveHard DriveOptical DriveOS
Samsung SSD 840 EVO 250GB Western Digital Blue 1TB LG DVD Burner Windows 8.1 Pro 
KeyboardPowerCaseMouse
Logitech K800 Seasonic 550W Corsair Carbide SPEC-02 Logitech G700s 
  hide details  
Reply
First Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 4690K Asus Z97-A Gigabyte GeForce GTX 970 mini Crucial 8GB 
Hard DriveHard DriveOptical DriveOS
Samsung SSD 840 EVO 250GB Western Digital Blue 1TB LG DVD Burner Windows 8.1 Pro 
KeyboardPowerCaseMouse
Logitech K800 Seasonic 550W Corsair Carbide SPEC-02 Logitech G700s 
  hide details  
Reply
post #3 of 4
Thread Starter 
thank you so much agawthrop do you think its possible to make it change when launching a game?
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
5820k Asus X99-s saphhire 295x2 gskill 4 2400mhz 16gb 
Hard DriveOSMonitorKeyboard
samsung 850evo 512gb Windows 8.1 64  Samsung 24 1080p PHILIPS BDM4065UC 
PowerCase
Thermaltake Toughpower 1200 Watt Nzxt H440 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
5820k Asus X99-s saphhire 295x2 gskill 4 2400mhz 16gb 
Hard DriveOSMonitorKeyboard
samsung 850evo 512gb Windows 8.1 64  Samsung 24 1080p PHILIPS BDM4065UC 
PowerCase
Thermaltake Toughpower 1200 Watt Nzxt H440 
  hide details  
Reply
post #4 of 4
You could. It'd be easier just to set a keyboard shortcut for the swapmouse.exe that way you could hit it right as you started the game.
First Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 4690K Asus Z97-A Gigabyte GeForce GTX 970 mini Crucial 8GB 
Hard DriveHard DriveOptical DriveOS
Samsung SSD 840 EVO 250GB Western Digital Blue 1TB LG DVD Burner Windows 8.1 Pro 
KeyboardPowerCaseMouse
Logitech K800 Seasonic 550W Corsair Carbide SPEC-02 Logitech G700s 
  hide details  
Reply
First Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 4690K Asus Z97-A Gigabyte GeForce GTX 970 mini Crucial 8GB 
Hard DriveHard DriveOptical DriveOS
Samsung SSD 840 EVO 250GB Western Digital Blue 1TB LG DVD Burner Windows 8.1 Pro 
KeyboardPowerCaseMouse
Logitech K800 Seasonic 550W Corsair Carbide SPEC-02 Logitech G700s 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Operating Systems
Overclock.net › Forums › Software, Programming and Coding › Operating Systems ›  Switch primary and secondary buttons script