Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse stopped working in Blue Shift & Opposing Force (turn left/right). #900

Closed
dimgel opened this issue Apr 2, 2013 · 25 comments
Closed

Comments

@dimgel
Copy link

dimgel commented Apr 2, 2013

After recent updates of Opposing Force (#844 fix) & HL itself, mouse turn left/right stopped working in Blue Shift & Opposing Force (twitching but not really turning). Still it works in menus, and HL itself is ok.

Gentoo / amd64.

@johndrinkwater
Copy link
Contributor

Possibly related with #896, mouse input regressed.

@kwahoo2
Copy link

kwahoo2 commented Apr 2, 2013

I noticed that It's turning when RAW input is enabled. But mouse buttons do not work.
Ubuntu 12.10/64-bit.

@dimgel
Copy link
Author

dimgel commented Apr 2, 2013

Raw input is enabled by default; I tried to change it of course (and other options too) without effect.

@alfred-valve
Copy link
Contributor

Are you running fullscreen or windowed? Do you have multiple desktops?

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

KDE 4.10.1 (recently upgraded from 4.9, along with udev 200, maybe it's the reason, too?), fullscreen, 2 monitors in clone mode (notebook + large monitor cloning it, so 1 physical desktop), 4 virtual desktops (didn't switch them though).

BTW mouse buttons work.

@roman-bronis
Copy link

To #896 (which was closed and moved here):
Mouse buttons are neither working in windowed nor full-screen mode. And MOUSE 2 is identified as MOUSE 1 in keyboard settings.

@alfred-valve
Copy link
Contributor

Can anyone that has this issue on linux please run:
pmap pidof hl_linux | grep libsdl

and paste the output. Our suspect here is an out of date libsdl on your system. Posting the md5sum of the libsdl that is loaded would also be useful.

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

pmap 4153 | grep libsdl
00000000f5ae0000 832K r-x-- /home/me/.local/share/Steam/SteamApps/common/Half-Life/libsdl2-2.0.so.0
00000000f5bb0000 36K rw--- /home/me/.local/share/Steam/SteamApps/common/Half-Life/libsdl2-2.0.so.0

I repeat just in case: HL1 itself works pretty fine. The problem is only in BS & OP. For HL1 the pmap output is the same.

@roman-bronis
Copy link

pmap:
00000000f5db0000 820K r-x-- ~/.local/share/Steam/ubuntu12_32/libsdl2-2.0.so.0
00000000f5e7d000 36K rw--- ~/.local/share/Steam/ubuntu12_32/libsdl2-2.0.so.0

md5sum:
66989fb2d9af4f6cd48424054be90d5a

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

md5sum /home/me/.local/share/Steam/SteamApps/common/Half-Life/libsdl2-2.0.so.0
d5b640e83da85141c4a94e8e9f05f451 /home/me/.local/share/Steam/SteamApps/common/Half-Life/libsdl2-2.0.so.0

@alfred-valve
Copy link
Contributor

@dimgel , what do the other HL1 games do? I don't understand how HL1 can work and the others don't, as they all use the same hw.so that has the mouse handling code :)

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

That's weird for me too. In other games, a viewport turns a degree or two and no more, no matter for how far I move the mouse. Looks like mouse pointer is limited by some very small invisible rectangle.

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

Reinstalling BS fixed the issue. Now reinstalling OF...

@alfred-valve
Copy link
Contributor

@roman-bronis , I see the issue you have, that libsdl is stale, I'll find a fix.

@dimgel
Copy link
Author

dimgel commented Apr 3, 2013

OF ok too. So something was wrong with updates, not with hl itself.

@roman-bronis
Copy link

The thing is they are using different libsdl:
HL ~/.local/share/Steam/SteamApps/common/Half-Life/libsdl2-2.0.so.0 md5:d5b640e83da85141c4a94e8e9f05f451
HL:OF ~/.local/share/Steam/ubuntu12_32/libsdl2-2.0.so.0 md5:66989fb2d9af4f6cd48424054be90d5a

I'm going to try reinstall.

@alfred-valve
Copy link
Contributor

A reinstall won't help, the issue is the stale file in the Steam folder. You could delete ~/.local/share/Steam/ubuntu12_32/libsdl2-2.0.so.0 as a workaround for now, I am coming up with the correct (no user intervention required) solution now.

@roman-bronis
Copy link

As you said reinstall didn't help.
However copying libsdl2-2.0.so.0 from HL folder to ubuntu12_32 folder helped...

@alfred-valve
Copy link
Contributor

If you restart steam, this should be fixed now, the libsdl should be loading from the Half-Life folder and not the steam one.

@roman-bronis
Copy link

Seams to be fixed. Thanks.

@Matthaiks
Copy link

That issue affects mods (at least Darkstar and Uplink) on Windows. It is impossible to fully turn around with a mouse. Moreover, that limited turning left/right is present when the mouse look is disabled. Raw input doesn't help.

@alfred-valve
Copy link
Contributor

@Matthaiks , the issue on windows with mods is unrelated and was fixed in the last public release of Half-Life.

@Matthaiks
Copy link

@alfred-valve Which version is it? Validated Exe build: 10:15:42 Apr 3 2013 (6004) is unfixed (at least on my system).

@alfred-valve
Copy link
Contributor

That should be the correct one, can you post links to those mods please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants