[Not a bug] Horizontal mouse wheel doesn't work

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Horizontal mouse wheel doesn't work

Postby MatrixCL » Wed Mar 24, 2021 11:35 am

I have this fancy mouse (Logitech MX Master 2S) with an extra mouse wheel on the side that works for horizontal scrolling in browsers. My hope was that it could be used for strafing in GZDoom.

The wheel is recognised. When I change the action controls for strafe left and turn the wheel to the left, it shows "MWheelRight". (Yes, left and right reversed, but that would be more intuitive for me, if it would work.) However, in the game, the player does not strafe when I use that wheel.
User avatar
MatrixCL
 
Joined: 07 Jul 2020
Location: Finland
Discord: Matrix#1375
Github ID: MaartenCL
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Horizontal mouse wheel doesn't work

Postby Graf Zahl » Wed Mar 24, 2021 11:38 am

You cannot use mouse wheels for actions that require holding a key down. They do not send the events needed for that.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Horizontal mouse wheel doesn't work

Postby Talon1024 » Sun Mar 28, 2021 3:56 am

Maybe you could do something like this (copy and paste into GZDoom console):
Code: Select allExpand view
bind MWheelLeft "+moveright; wait 3; -moveright"

Likewise for the other direction:
Code: Select allExpand view
bind MWheelRight "+moveleft; wait 3; -moveleft"
Talon1024
 
 
 
Joined: 27 Jun 2016
Github ID: Talon1024
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests