ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.74k stars 631 forks source link

[Counter Strike 1.6] V-sync off makes mouse wheel to stop working #2055

Open ghost opened 10 years ago

ghost commented 10 years ago

EDIT (Aug 30, 2016): Created a little repo of Xorg (for Arch Linux) that will patch xorg-server to fix this issue and will create all related packages. https://github.com/amarildojr/xorg

Packages created:

xorg-server-1.18.4-1-x86_64.pkg.tar.xz xorg-server-common-1.18.4-1-x86_64.pkg.tar.xz xorg-server-devel-1.18.4-1-x86_64.pkg.tar.xz xorg-server-xdmx-1.18.4-1-x86_64.pkg.tar.xz xorg-server-xephyr-1.18.4-1-x86_64.pkg.tar.xz xorg-server-xnest-1.18.4-1-x86_64.pkg.tar.xz xorg-server-xvfb-1.18.4-1-x86_64.pkg.tar.xz xorg-server-xwayland-1.18.4-1-x86_64.pkg.tar.xz

Feel free to contribute to it in regards to patching things for other distros.


(Original thread) I've been playing CS since 2003 and I've always jumped with MWHEELDOWN, I even still have my Logitech MX310 from 2003 and it works perfectly on every other game I try (I can prove it). But since a few months ago or even less I can't use the mouse wheel anymore, there's something wrong with the game in regards to using it, be it to jump or scroll through the command line or any wheel operation.

I'm using Arch Linux. NVIDIA-337.12. Kernel 3.14.3. Logitech MX310. Any specs you need, just let me know.

ysoloviov commented 1 year ago

@vesmihaylov I just plugged in Logitech B100 (office mouse without side buttons) and MOUSE[45] trick worked perfect, so definitely worth it to try.

vesmihaylov commented 1 year ago

@damage220 Same :/. I get error in the console "MOUSE5" is unbound. How did you get your "MOUSE[45]"? Where do you check the numbers?

ysoloviov commented 1 year ago

@vesmihaylov I got these numbers when I was binding +jump command through the gui (Options -> Keyboard). I described it in my comment and there is also pictures in the comment. Try to bind graphically first and the game may offer you second option.

vesmihaylov commented 1 year ago

Hey @damage220. It worked. First it binded MWHEELDOWN and MWHEELUP, when I cleared the keys and tried again, It binded MOUSE5 and MOUSE4 which is really weird. Good news is now I don't have the problem. I just get these messages in console which could be really annoying when I try to search something in there but I won't unbind just in case I don't break it again: MWHEELDOWN is unbound.