ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.6k stars 599 forks source link

Client.so has old issue with mouse when compiled from sources #1469

Open FreeSlave opened 10 years ago

FreeSlave commented 10 years ago

I've compiled half-life client.so from sources and put it in Half-Life/mymod/cl_dlls. Now I have problem with mouse same as described in https://github.com/ValveSoftware/halflife/issues/778 Changing m_rawinput cvar does not help. Angle I can turn depends on screen resolution and current mouse position.

My system (referring to Xorg -version):

X.Org X Server 1.14.5 Release Date: 2013-12-12 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-4-amd64 i686 Debian Current Operating System: Linux debian 3.10-3-686-pae #1 SMP Debian 3.10.11-1 (2013-09-10) i686 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10-3-686-pae root=UUID=454a0eec-27cc-4dbc-8b68-24fdefbab3e0 ro gfxpayload=true quiet Build Date: 13 December 2013 10:45:09AM xorg-server 2:1.14.5-1 (Maarten Lankhorst maarten.lankhorst@ubuntu.com) Current version of pixman: 0.32.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.

My liblist.gam:

game "My Mod" startmap "c0a0" trainmap "t0a0" cldll "1" mpentity "info_player_deathmatch" gamedll "dlls\hl.dll" gamedll_linux "dlls/hl.so" gamedll_osx "dlls/hl.dylib" secure "1" type "singleplayer_only"

Actually I changed some makefiles to build shared object on my system, since Valve uses different path for compilers and utilities and also uses utility p4 which unknown for me (I've just commented its calls out).

dtugend commented 10 years ago

This is a known problem with the SDK and affects Windows aswell, see

1377

Especially this comment

Depending on the SDL2 version you use with Half-Life there might be as well mouse scroll problems with a few mice, these have been addressed by the SDL team, however I think at least Windows Half-Life installations don't have newer SDL2 versions packaged yet. This problem is handled in the very same issue linked above.