https://bugs.winehq.org/show_bug.cgi?id=56026
Bug ID: 56026 Summary: Wine 9.0-rc1 Wayland: Mouse buttons 3-6 do not work Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: h0tc0d3@gmail.com CC: alexandros.frantzis@collabora.com Distribution: ---
Bindings on mouse3-mouse6 do not work in games. The click events for these buttons do not come from wayland wine.
https://bugs.winehq.org/show_bug.cgi?id=56026
--- Comment #1 from alexandros.frantzis@collabora.com --- Thanks. Please see https://gitlab.winehq.org/wine/wine/-/merge_requests/4695. This adds support for win32 xbutton1 and xbutton2 (i.e., back and forward). Let me know if it helps.
What's the functionality of buttons mouse3-mouse6 (do you start counting from 0, with mouse0-mouse2 as left/middle/right?) on your system, e.g., with WineX11?
Also, if you can provide it, it would be helpful to get the output of evtest for each of the buttons on your mouse, to see what kind of evdev codes you actually get for each button.
https://bugs.winehq.org/show_bug.cgi?id=56026
--- Comment #2 from Grigory Vasilyev h0tc0d3@gmail.com ---
What's the functionality of buttons mouse3-mouse6 (do you start counting from 0, with mouse0-mouse2 as left/middle/right?) on your system, e.g., with WineX11?
mouse1 - Left Button, mouse2 - Right button, mouse3 - Scroll click
= mouse4 Side buttons click
For example, my mouse has 2 side buttons. These buttons can be assigned in games to perform different actions. Yes they are also called xbutton1 and xbutton2. But there are mice that have even more side buttons. Such mice are used in role-playing games, and there the number of side buttons can be more than 12! Example: https://www.rtings.com/mouse/reviews/best/mmo
type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005 type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1 -------------- SYN_REPORT ------------ type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005 type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004 type 1 (EV_KEY), code 275 (BTN_SIDE), value 1 -------------- SYN_REPORT ------------ type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004 type 1 (EV_KEY), code 275 (BTN_SIDE), value 0
https://bugs.winehq.org/show_bug.cgi?id=56026
--- Comment #3 from alexandros.frantzis@collabora.com --- Thanks, in that case the https://gitlab.winehq.org/wine/wine/-/merge_requests/4695 MR should fix the side buttons (4-5) for you.
You also mention mouse3 (=scroll button click, I assume the same as middle click?). Does that not work for you?
https://bugs.winehq.org/show_bug.cgi?id=56026
--- Comment #4 from Grigory Vasilyev h0tc0d3@gmail.com --- (In reply to alexandros.frantzis from comment #3)
Thanks, in that case the https://gitlab.winehq.org/wine/wine/-/merge_requests/4695 MR should fix the side buttons (4-5) for you.
You also mention mouse3 (=scroll button click, I assume the same as middle click?). Does that not work for you?
Thank you. That helped. Tonight I'll try out how wayland works in game. I didn't check the middle button because, now I don’t have any bindings for this button in games, but it’s the same thing as scroll click. I'll check later the middle button works or not and let you know.
https://bugs.winehq.org/show_bug.cgi?id=56026
--- Comment #5 from Grigory Vasilyev h0tc0d3@gmail.com --- Checked. Middle button works. Thx.
https://bugs.winehq.org/show_bug.cgi?id=56026
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |516bfa12416c41ddb7893e5ce4a | |f17104a35c157 CC| |infyquest@gmail.com
--- Comment #6 from Vijay Kamuju infyquest@gmail.com --- Fix now committed (516bfa12416c41ddb7893e5ce4af17104a35c157) Now its in wine 9.0 rc2
https://bugs.winehq.org/show_bug.cgi?id=56026
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc3.