Request: Option Invert mouse drag

Hey guys and BW team.

I really love what you have created here.
I first started playing this game 10+ years ago, but im left handed. So i found it hard and then SC2 came out and it was a lot easier to remap my keys for left-handed play.

When remastered came out i saw the hotkey editor and thought amazing i can play this game again and hopefully to the same level i do at sc2. (Diamond level)

But one thing that is a bit jarring is that i do not have the option to invert middle mouse drag.

Im sure this is s big thing to ask but it would really help. I have searched this topic and i have seen it being asked before. (Just not here)

Anyways that’s my thought, keep up the great work.

1 Like

Same here. Functionality looks like easy to develop and it would allow me to play BW the same way I play SC 2. Inverted drag scroll always felt more natural to me

Hi!
Note: this only works for Windows. Tested on W7 and W10, possible to work with other types of Windows.

For this to work you have to:

  1. Download and extract SakasaMouse:
    https://hp.vector.co.jp/authors/VA026826/
  2. Install AutoHotkey (Download Current Version):
    https://www.autohotkey.com/
  3. Save the code below as a .ahk file (e.g. inverted mouse drag.ahk) and place it in the SakasaMouse folder.
#IfWinActive, ahk_exe StarCraft.exe

MButton::
Run, sakasa.exe
Send, {MButton down}
KeyWait, MButton 
Send, {MButton up}
Process, Close, sakasa.exe
return

#IfWinActive

F8::Suspend

F12::
Suspend, Permit 
ExitApp
return
  1. Run the .ahk file. Now your mouse gets inverted whenever you click and hold down the mouse middle button, only within Starcraft. Upon of the release of the button, mouse will return to its original state.

  2. You should hide the SakasaMouse icon and notifications from the notification area (bottom right corner on Desktop), otherwise it will fill the area and you may get issues from that.

Hotkeys:
F8 - pause/unpause the script
F12 - exit the script

1 Like

I think you can make SakasaMouse, AutoHotkey and SC:R work together on Mac and Linux by using the methods below:

Mac


I think there are chances to get this work for Mac by using either Bootcamp or Parallels, according to this post:

https://www.autohotkey.com/boards/viewtopic.php?p=271729&sid=643ef1e98c6372f38a4a09b19d74bd21#p271729.

Although, I don’t know if there would be any issues running SC:R with the Bootcamp or Parallels. In case SC:R won’t work, you can try looking up for a virtual machine solution that allows GPU passthrough. More info about this in the Linux section.

You can have a look at these two links, for VirtualBox and VMWare:
https://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions

https://www.vmware.com/products/fusion.html

Linux


For Linux you can try VMWare, Hyper-V, VirtualBox. In case you need GPU passthrough, check my previous two posts (they may apply for Mac, as well):

1 Like

Thank you for the suggestion, however it doesn’t work for me on Windows 10. The problem is sakasa program. AutoHotkey does it’s job fine, when I try to drag in game the script is active and sakasa.exe is run, however that program is broken for Windows 10. It just blocks the mouse in the top left corner of the screen and you have to shut it down to get your mouse back

this thing has become very frustrating. I just browsed every solution out there and what I’ve found is that people are confusing mouse scroll with mouse drag. Registry solutions invert mouse scroll. sakasa has the right approach, it should activate inverse mouse movement on both axes once the middle mouse is pressed, however it’s broken. It could be problem with the mouse. I use Razer.

You’re welcome! Too bad it didn’t work for you.

I have tested it out thoroughly on W10, with both the .exe by itself and the .ahk script, and I had no problems.

You can try these out to see if it will make it work for you:

  • use this version of the .ahk
Click to expand
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.

#IfWinActive, ahk_exe StarCraft.exe

MButton::
Run, sakasa.exe
Send, {MButton down}
KeyWait, MButton 
Send, {MButton up}
Process, Close, sakasa.exe
return

#IfWinActive

F8::Suspend

F12::
Suspend, Permit 
ExitApp
return
  • use a different mouse
  • unplug all monitors except one
  • set the compatibility mode for SakasaMouse as Windows 7
  • set SakasaMouse to always run as Administrator
  • use 64-bit Starcraft
  • disable Mouse Scaling within Starcraft
  • enable/disable Hardware mouse within Starcraft
  • switch between Fullscreen and Fullscreen(windowed) Starcraft
  • try out different mixes of these options

, or/and you can try out these alternative programs to SakasaMouse with Starcraft, and let me know which one works for you, and I will adjust the code:
https://www.pcgamingwiki.com/wiki/Glossary:Invert_Y-axis

https://www.google.com/search?q=mouse+inverter+github