[Bug 49786] Horizontal scrolling stopped working - regression in 5.8/5.9+

WineHQ Bugzilla wine-bugs at winehq.org
Sat Sep 5 18:41:49 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49786

--- Comment #5 from Marcin Zajaczkowski <mszpak at 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/893080e4df5a45929320ebb88b8668eea316476c

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list