Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
ChessSpider
12 discussion posts
Hey,

First of all thanks for making and maintaining this awesome piece of software. DF has everything I need, well, almost.

When playing (older) games my mouse pointer (cursor, etc) sometimes goes out of the screen onto the secondary monitor. Which is very annoying, especially when you want to scroll sideways in RTS games.

What I need is a feature that locks a mouse-pointer to a specific monitor. At least lock it to the primary monitor. Preferably implemented as a toggle hotkey.

Thanks,
Machiel
Mar 1, 2011  • #1
User Image
Kevin F.
456 discussion posts
Seconded, though I doubt he will do this. I recall asking years ago, and getting a negative reply. you can try to Google windows mouse capture, that might point you in a good direction if memory serves.
Mar 2, 2011  • #2
User Image
Kilmatead
44 discussion posts
If you are at all familiar with scripting, this is quite simple to do in one of the common languages AutoIt or AHK; just look at http://www.autoitscript.com/forum/topic/59574-restricting-mouse-movement/ thread, which basically does it for you.

If you are not familiar with such scripting, small things like this are the perfect opportunity to learn. :-)

(Curiously the only two RTS's worth playing :wink: CoH and RTW already do this, so I couldn't find anything to test it on, but the theory's the same for anything really.)
Mar 2, 2011  • #3
User Image
ChessSpider
12 discussion posts
well im either asking this or a plugin system like MsgPlus! has so I can add my own script to DF.

Thanks for the suggestion Kilmatead. I'd prefer not to install a lot of software for something as simple as this, but if this suggestion gets rejected for whatever reason that will be my next stop.

The RTS's im playing right now are ~10 years old.. hehe
Mar 2, 2011  • #4
User Image
Kilmatead
44 discussion posts
I'm not mad about superfluous installations either, but AutoIt (in ZIP form) doesn't require any installation - once you get your script working as you like, use AutoIt's compiler to create a self-standing EXE which doesn't require any installed runtimes at all, and you can then use it as you like.

An option, anyway, well worth experimenting with - with the added benefit that in future you're no longer reliant upon asking other developers to develop niche requests for you (howevermuch that seems convenient in the short-term).

(If you have any background in coding at all [even just a schoolboy's "Hello World"], AutoIt is ridiculously easy to learn, and extremely useful.)
Mar 2, 2011  • #5
User Image
rpm081581
1 discussion post
Use MouseTrap its the only one i've found that works with win 7 x86 and x64. Alt-Z locks. Alt-X unlocks. Alt-C closes the program. No user interface or taskbar icon. Exactly what your looking for. I had the same problem with my older games, works like a charm.
• Attachment: mousetrap.zip [327,106 bytes]
Mar 3, 2011  • #6
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
This feature is coming in Beta 3! :) There is a new HotKey that locks the mouse cursor to the currently focused window, which will work perfectly for playing games on multi-monitor systems. Look for Beta 3 to be released in the next week or so.
Mar 16, 2011  • #7
User Image
Kevin F.
456 discussion posts
OMG really? So epic 3 you Jon!
Mar 17, 2011  • #8
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Just waiting on the graphics for the TitleBar Button from the designer and it's ready to roll. :)
Mar 17, 2011  • #9
User Image
ChessSpider
12 discussion posts
Thank you very much :). This was the only thing I was missing in DF.
Mar 19, 2011  • #10
User Image
ChessSpider
12 discussion posts
it works perfectly. Thank you very much again for implementing this :)
Mar 22, 2011  • #11
User Image
tester27
9 discussion posts
Thx it works good but I have one problem. When I use "Lock Mouse Cursor to Current Monitor" it lock perfectly but when I open another window (or just open another app usingALT+TAB) it unlock cursor to current monitor. :cry:
Mar 23, 2011  • #12
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
@Tester: Thanks for letting me know, I'm investigating this for the next Beta.
Mar 25, 2011  • #13
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Just to let you know, this has been fixed for the upcoming Beta 6 release. :)
Apr 1, 2011  • #14
User Image
tester27
9 discussion posts
Good work. It works great in Beta 6. :) :wink:
Apr 4, 2011  • #15
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Perfect, thanks for letting me know. :)
Apr 4, 2011  • #16
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)