Cities: Skylines

Cities: Skylines

Cursor Jail
72 Comments
Dan Fielding 15 Sep, 2022 @ 5:18pm 
Seems to have stopped working since the last update. Any possible way for a fix?
StayHungryStayFoolish 12 Feb, 2022 @ 3:57pm 
It really jails the cursor in the game window. I would never use it, but it works.
Iommonaut 12 Feb, 2021 @ 9:40am 
Still works in game, just doesn't work in the main menu.
rsoyxihnark 25 Jul, 2020 @ 7:35am 
doesn't work.
Jimbobwales 9 Jun, 2020 @ 7:15pm 
Did this stop working?
jmsfnch 8 Jun, 2019 @ 11:05am 
Doesn't seem to be working for me, even after loading/starting a game.
Rena 29 Mar, 2019 @ 6:35pm 
Great! But I wish I could toggle it on/off during game.

Strange quirk: on my (Linux) machine, it does let the cursor go physically outside the game window, but it still behaves like it's in the window; ie the appearance doesn't change, and I can't click on other windows. Anyway, it's not a problem.
MaxPower 28 May, 2017 @ 4:40am 
It only works after you load a game. Not in main menu.
Bertie 30 Jan, 2017 @ 2:47am 
Works a treat, thanks!
ScumLord 28 Jan, 2017 @ 2:57am 
didn't work for me. no idea why.
SovietSoup 16 Apr, 2016 @ 7:23pm 
Working. Essential for dual monitors. I don't understand why this isn't part of the base game lol
Wapple 30 Dec, 2015 @ 8:22pm 
Does not work.
jon 13 Dec, 2015 @ 7:57pm 
why dont the devs fix this
stmSantana 27 Sep, 2015 @ 2:17am 
It works.
[XF]inoxe06 25 Sep, 2015 @ 2:05pm 
hi
thx for ur job
is,it ok with afterdark plz?
PandaWaffles 22 Jul, 2015 @ 2:31pm 
Still working fine with 1.1.1c
cavitycreep 7 Jul, 2015 @ 7:03pm 
Compatible with 1.1.1c?
Tblue 17 Jun, 2015 @ 2:22pm 
Works for me, great!
BULL 31 May, 2015 @ 7:34am 
where is the link ?
Scott 27 May, 2015 @ 12:32am 
Yup, doesn't work i'm afraid. Hope it can be fixed, thanks.
ChrisMT07 20 May, 2015 @ 9:25am 
Excellent!!!
MaxPower 4 May, 2015 @ 4:51am 
What are you talking about? It works normal for me.

I noticed one bug however: edge scrolling still works when you are tabbed out of the game.
Is this fixable by mod?
MoonLiteNite 19 Apr, 2015 @ 2:06pm 
I couldn't get it to work. :(I
I just use the same 3rd party mod that i used for that other "sim" game that sucks :D
Basically locks any mouse into any window unless a key is pushed
Dr. Manini 8 Apr, 2015 @ 9:05am 
not working for me..
Logan the Hamster 7 Apr, 2015 @ 2:28am 
Doesn't work for me.
Rayzn  [author] 29 Mar, 2015 @ 9:33am 
@F43nd1r In "C:\Program Files (x86)\Steam\SteamApps\workshop\content" should be a lot of folders with numbers as names and in one of them is "CursorJail.dll" and there is the source file too.
F43nd1r 29 Mar, 2015 @ 7:30am 
@Vider7CC Could you upload sources somewhere?
Rayzn  [author] 28 Mar, 2015 @ 6:45am 
@Thyworm Thanks, great Video :)
Thyworm 27 Mar, 2015 @ 10:26pm 
This is totally awesome. Included this in the second Cities: Skylines Mod Review: https://www.youtube.com/watch?v=QdbFejuD7PI
PandaWaffles 27 Mar, 2015 @ 3:13pm 
Thank you so much for this! I can't believe games released in 2015 still don't have this built-in.
Quicky 107 26 Mar, 2015 @ 10:36am 
Thx dude. that work fine.
[DS] maul 22 Mar, 2015 @ 8:17pm 
Thank you, works like a charm.
Badguy 22 Mar, 2015 @ 3:51pm 
You're a lifesaver man! Thank you! Hope they (the devs) include this MOD - it's mandatory to have such stuff in any 21st century game IMO
Shadow[Ger] 22 Mar, 2015 @ 11:07am 
The game might be super great, but it's really annoying that I need a third-party programm/mod to get this game running with my multi-monitor-setup (which is probably a lot more common now in 2015 than it used to be a few years ago). I hope they fix this issue.
Decibel Drifter 21 Mar, 2015 @ 7:35am 
Works perfectly fine for me, no bugs. Essential for those who have more than 1 screen.. Thanks!
XRight 21 Mar, 2015 @ 3:29am 
it works perfect. Must have for people with more than 1 monitor.
Sol 20 Mar, 2015 @ 9:57pm 
This didn't work for me (all other mods do) and it didn't stop my curser from zooming up/down in mouse wheel (i can see in aero view when i use windows button to access internet) and sometimes it still selects unwanted commands.
ZeroThaHero 18 Mar, 2015 @ 7:34pm 
@PsychoKillerMonkey

LOLOLOL y thank you!
OldLost 17 Mar, 2015 @ 8:15pm 
Interferes with the rotate camera modifier (MMB). As you rotate the view using the MMB the cursor moves until eventually it's at the edge of the screen causing edge scrolling to kick in. Otherwise works well, but I can't use it with this interference.
Gary 17 Mar, 2015 @ 4:22pm 
Essential for people with two montitors. Thank you.
Rayzn  [author] 17 Mar, 2015 @ 12:47pm 
@Nat In "C:\Program Files (x86)\Steam\SteamApps\workshop\content" should be a lot of folders and in one of them is "CursorJail.dll" and there is the source file too. The mod sets Cursor.lockState to CursorLockMode.Confined every frame.
Nat20 17 Mar, 2015 @ 11:48am 
Can you post the source code? My friend has a Unity game and for some the cursor unlocks after alt tabbing.
Benney 17 Mar, 2015 @ 8:45am 
@ZeroThaHero This is probably what you are looking for :) https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=407055819&searchtext=
ZeroThaHero 16 Mar, 2015 @ 6:14pm 
http://i.imgur.com/PjH20UI.jpg = NOPE.

I'm going to be using the CursorLock app fix until they hardcode a confine cursor option in the game.

I need my internet achievements. They make me complete.
TheMrDarkrider 16 Mar, 2015 @ 2:33pm 
Its not locking the cursor for me in the game and i tried the alt tab thing and the force cammand for it as well.
Rayzn  [author] 15 Mar, 2015 @ 6:28am 
@Thadian That's a bug. Shouldn't happen normally.
Sol 14 Mar, 2015 @ 9:27pm 
So when I tab out of game, my game curser won't still be moving around? Sweet.
strictly pizza 13 Mar, 2015 @ 2:44pm 
THANK YOU! This totally fixed my issue with the mouse continuing to move to my second monitor. Woooooo thanks.
Adriaan 12 Mar, 2015 @ 11:16am 
Well strange thing is, if i alt-tab, and go back the game stretches to 5760*1080, but normally its just 1920*1080 with 2 screens showing nothing (black) but they do show "game" render instead of nothing (the desktop resolution stays 5760*1080, whereas with skyrim its 1920*1080)
Rayzn  [author] 12 Mar, 2015 @ 10:49am 
@Bassie NL Seems to be an Unity bug :(