
I attached my custom xorg config in case somebody wants to take a look and suggest changes to it. maybe it solves the issue entirely.ĮDIT: It didn't.
CS 1.6 CONFIG 2016 DRIVER
I own a Zowie EC1 eVo mouse, and this is the equivalence table between Xorg and Half-Life engines' naming of mouse buttons for my mouse (Bear in mind, I'm using the mouse driver instead of evdev). Scrolling still sent these other codes somehow.Īnyway related to this, Xorg has support for up to 14 mouse buttons. It seems Counter-Strike gets its input at a lower level than what xmodmap is capable of affecting, because I tried all sorts of xmodmap -e pointer remappings for the mousewheel and they didn't work. But also, it turns out that using xmodmap doesn't work in this case. This is buggy behavior that could probably be very easy to fix in the engine itself. However I think it is needless to say that this shouldn't be the way to fix this. The suggestion from the guy at IRC can be achieved using the xmodmap tool. But bear in mind that given the fact that the engine IS being affected by Xorg "somehow", implementing some sort of fix engine side should be mandatory. So this appears to be 100% Xorg's fault instead of an engine issue. So what you want is to configure your mouse so those buttons are button6 / button7 When mouse wheels first started appearing, mice never had more than three buttons, so mousewheel up/down defaulted to emitting Button4 and Button5 so apps would have something to listen for In both cases I am absolutely not pressing MOUSE4 or MOUSE5, but their respective codes are being sent along each time I scroll. Similarly, whenever I use MWHEELUP to hop faster into ledges (I practice KZ), I hear the sound that +use produces (triggers MOUSE4). Whenever I bunny jump using MWHEELDOWN, my sound stops briefly each time I scroll (MOUSE5 is being triggered). In my Counter Strike 1.6 client configuration file I have the following binds:
