Starcraft in windowed mode2/23/2023 TrayTip, Mouse lock v1.0 for SC2, CapsLock on = Lock the mouse to the StarCraft 2 window.`nCapsLock off = Release the mouse., 5, 1 You can lock the mouse by turning CapsLock on, This script finds the size of the SC2 window, its edges, and locks Thanks to corrupt for the original mouse locking code. I've modified the code a little so that it doesn't go all the way to the top of the window (bar and all), and doesn't go to the very edges of any side of the screen. It's a good amount of borrowed code from "corrupt", a user here on the AHK forums. I wanted to have the best of both worlds, so I came up with this script. I really enjoyed the fact that you can scroll the map by moving your mouse to the very edge of the screen, but I wasn't happy with the fact that the game didn't lock your mouse into its window if you play the game in windowed mode.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |