Cities: Skylines

Cities: Skylines

View Stats:
Based Squid Aug 28, 2017 @ 11:12pm
Middle Mouse Button not working for rotation
I'm using Linux Opensuse 42.2 and I have a trackball mouse. The middle mouse button used to work in the game perfectly. I have checked and the middle mouse button still works, however, to even get the slightest movement in Cities: Skylines I have to spam click the button for the game to register it.

I tried with a regular mouse and it worked fine, but just not with trackballs. I don't like regular mice as I don't want to get carpal tunnel and they're more comfortable, but anyway,

I updated my drivers today, but that shouldn't affect it. Is there a known bug with a new update perhaps? Also what can I do to fix this?
< >
Showing 1-4 of 4 comments
simension Aug 29, 2017 @ 2:10am 
Are you sure, this is a game issue - might as well be a trackball issue! I am a heavy Logitech M570 user myself and encountered similar problems several times: not all Mouse clicks seem to count. When you read reviews about this Trackball you see bad button connection are a major problem of this trackball - might be the same for others.

What I do when this problem occurs: I give the button 10 to 20 really as hard as I can manage clicks - and this usually helps... maybe it is just dust causing the disturbance.

Did this to my previous Trackball about every 3 month or so and prolonged its usage with it. Though no comparisson to old trackballs: used to work for 5/6 years - nowadays it is down to 2/3 years.
Based Squid Aug 29, 2017 @ 11:18am 
I'm pretty sure it is a game issue, because when I closed the game and clicked around don Steam the middle mouse button worked fine. I even unpacked a brand new trackball and tried and still no cigar. Regardless, thanks for your reply.:2016trophy:
LANttu Mar 24, 2020 @ 6:49am 
I know this is an old topic, but I have the same issue on Win 10 with my Kensington trackball. The problem is only in Cities Skylines. Did you ever find a solution to this?
Last edited by LANttu; Mar 24, 2020 @ 6:49am
p1timmy Oct 8, 2022 @ 8:09am 
Sorry if I'm necrobumping this but I recently found a solution that made middle click rotation work on Linux.

On most Linux systems, the desktop runs on top of this thing called X11[en.wikipedia.org]. By default X11 binds middle click to paste stuff, this intercepts middle clicks and causes the rotation feature to break. So here's what I did:

  1. Install xsel using a package manager (for example it's apt-get in Ubuntu and pacman on Arch/Manjaro)
  2. Copy-paste the below code and save it in a new file:
    #!/bin/sh while true; do xsel -fin < /dev/null done
  3. Make that file executable, for example:
    chmod +x block_middle_click_paste.sh
  4. Add that file into your desktop's startup list (highly recommended).
    Under KDE Plasma (which I use) open the System Settings app, then on the sidebar click Startup and Shutdown, then Autostart. Click on the Add button on the lower left corner then click on Add Login Script and select the script file you just saved. The script will run in the background automatically the next time you log in.

Tested and working on Manjaro KDE using a regular gaming optical mouse, your experience may vary depending on your distro, desktop environment, and the mouse you use. Since this deals with X11 it probably may not work under Wayland.

If you did all the steps above and middle click rotation still doesn't work, make sure the script is running either in the background or on the terminal. You can verify this with the following command:
pgrep -f <name of your script file>

Source: https://unix.stackexchange.com/a/501445
Last edited by p1timmy; Oct 8, 2022 @ 8:28am
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Aug 28, 2017 @ 11:12pm
Posts: 4