https://bugs.winehq.org/show_bug.cgi?id=49786
--- Comment #5 from Marcin Zajaczkowski mszpak@wp.pl ---
Mouse Button 4 and 5
4 and 5 looking at the manual for the game [1]. However, in my (quite old) Logitech M305 [2], when examining with xev on Linux, it is definitely button 6 and 7 when I click the scroller left and right (that mouse doesn't have a separate horizontal scroller). 4 and 5 are generated when I scroll up and down (and in game are used for something else).
I wonder if there could be conflict in mapping between Linux and Windows?
Btw, looking at the diff [3]:
static const UINT button_down_data[NB_BUTTONS] = { 0, 0, 0, WHEEL_DELTA, -WHEEL_DELTA, -WHEEL_DELTA, WHEEL_DELTA, XBUTTON1, XBUTTON2 };
I wonder, why WHEEL_DELTA is used twice? Isn't there anything like HWHEEL_DELTA for horizontal scrolling?
[1] - https://www.2k.com/manual/xcom2/collection/ [2] - https://www.amazon.com/Logitech-M305-Wireless-Mouse-Silver/dp/B002Y6CJJ8 (I wasn't able to find it on the Logitech site) [3] - https://github.com/wine-mirror/wine/commit/893080e4df5a45929320ebb88b8668eea...