Trouble remapping WheelUp and WheelDown in game

Ask gaming related questions
Dang Skippy
Posts: 2
Joined: 19 Sep 2017, 20:18

Trouble remapping WheelUp and WheelDown in game

19 Sep 2017, 20:28

Hello Everyone,

I am having a bit of trouble remapping the WheelUp and WheelDown actions in the game "God Eater Resurrection". I want to use the scroll wheel to scroll through the radial menus in game. Unfortunately, the game itself doesn't recognize the wheel scrolling; instead, you navigate the menus by pressing "scroll left" and "scroll right" buttons, in this case bound to "a" and "z".

My script looks like this:


If I run the script outside of the game and scroll up or down, each click of "up" produces one "a" and each click of "down" produces one "z". So far so good.

However, in game, as soon as I scroll up or down even one click, the game thinks that I am continuously hammering or holding "a" or "z". There is no way to stop it, either; the game thinks that the corresponding key is held or hammered and the menu scrolls (or twitches back and forth rapidly) until I quit. I've googled around for a solution and found none. Would anyone be able to shed some light on what could be going on here?
Rohwedder
Posts: 616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Trouble remapping WheelUp and WheelDown in game

20 Sep 2017, 02:32

Hallo,
only a try:

Code: [Select all] [Download] GeSHi © Codebox Plus

WheelUp::SendInput, a
WheelDown::SendInput, z
User avatar
evilC
Posts: 3597
Joined: 27 Feb 2014, 12:30

Re: Trouble remapping WheelUp and WheelDown in game

20 Sep 2017, 08:00

WheelUp::a is logically equivalent to:

Code: [Select all] [Download] GeSHi © Codebox Plus

Wheelup::Send {a down}
Wheelup up::Send {a up}


Mouse wheel does not have an up (Release) event like most keys do, so in effect, it is equivalent to Wheelup::Send {a down}, which would explain the behaviour you see.

Rohwedder's solution should work around this.
Dang Skippy
Posts: 2
Joined: 19 Sep 2017, 20:18

Re: Trouble remapping WheelUp and WheelDown in game

24 Sep 2017, 00:15

Thank you very much, SendInput did it.

Return to “Gaming”

Who is online

Users browsing this forum: evilC and 6 guests