Jump to content
Sign in to follow this  
jjkmk

[known] Mousewheel jump bug

Recommended Posts

Technically, it's as intended (not a bug).

 

When you push a key, there's a down & up event come through. 

i.e. when you do "bind a +jump", pushing the a key triggers "+jump", releasing the a key triggers "-jump"

 

When you scroll the scroll wheel, there's only 1 event. So there's no event to "release" it.

 

I understand people want to jump with the mouse wheel, I just don't see an elegant solution here. Why it could be toggled on/off quickly, it kind of defeats the purpose of "preparing" your jump by pushing it just before you hit the ground (as that would not be possible).

 

This turns into a design issue, not a bug issue :) I think Newborn's already on the case too :)

Share this post


Link to post
Share on other sites

I know that this was an issue for me too so I took the liberty of creating an ahk script that will effectively press spae every time you scroll... I feel like if it is intended, it is simply annoying and people will use a means to get around it anyway... I feel like there should perhaps be a stacking system in place instead of the "addbind" system you have in place at the moment. Something like the way source handles multiple binds woould be nicer in my oppinio, then we could bind +jump and - jump to happen one after another.

 

Here is the script I use as a temporary solution though:

delay := 125 ;small delay after pressing a button

; Normal mousewheel jump
WheelDown::
Send {Blind}{Space Down}
Sleep, %delay%
WheelDown up::
;SetKeyDelay -1
Send {Blind}{Space up}
return

WheelUp::
Send {Blind}{Space Down}
Sleep, %delay%
WheelUp up::
Send {Blind}{Space up}
return

; With ctrl pressed
^WheelDown::
Send {Blind}^{Space Down}
Sleep, %delay%
^WheelDown up::
Send {Blind}^{Space up}
return

^WheelUp::
Send {Blind}^{Space Down}
Sleep, %delay%
^WheelUp up::
Send {Blind}^{Space up}
return


; With shift pressed
+WheelDown::
Send {Blind}+{Space Down}
Sleep, %delay%
+WheelDown up::
Send {Blind}+{Space up}
return

+WheelUp::
Send {Blind}+{Space Down}
Sleep, %delay%
+WheelUp up::
Send {Blind}+{Space up}
return

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×