Unable to map MWheelUp=+lookup

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Unable to map MWheelUp=+lookup

Postby Phoebe Crennersit » Mon May 30, 2022 3:21 am

Hello and thanks for the help,
I'd like to use the mouse-wheel to look-up and look-down.

In lzdoom.ini under "[Doom.Bindings]", I've tried changing to:
MWheelUp=+lookup
MWheelDown=+lookdown
It failed

Within the game, I've also tried customizing the "look up" and "look down" actions to map to the mouse wheel.
Unfortunately, it also failed.

I can successfully map "+lookup" and "+lookdown" to keys, but not to "MWheelUp" and "MWheelDown".
So I assume that I'm doing something wrong.

I'd appreciate guidance.
Thank you.
Phoebe Crennersit
 

Re: Unable to map MWheelUp=+lookup

Postby drfrag » Mon May 30, 2022 4:49 am

You can't do that in old GZDoom versions, must be an old bug.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Unable to map MWheelUp=+lookup

Postby Graf Zahl » Mon May 30, 2022 5:30 am

You cannot bind the mouse wheel to 'button' actions (i.e. the ones starting with '+'.)
These require a key to be held down, but the mouse wheel cannot be held down so these buttons never register as 'pressed'.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 0 guests