InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

Automatic binding constantly reads scroll wheel

Open Baste-RainGames opened this issue 7 years ago • 4 comments

Gif:

scroll

The action has type "Any". Pretty much instantly after I click the rebind button, it picks up a scroll wheel input. I'm not scrolling my mouse wheel, and no other programs are behaving like I'm scrolling, so it's probably not a hardware issue.

If I set the action to a type that doesn't support scrolling, this doesn't happen.

Baste-RainGames avatar Jan 19 '19 12:01 Baste-RainGames

Same issue here, 0.1.2-preview on Unity 2018.3.2f1, Windows 10, Logitech G700s.

Also noticed that when opening the mouse in the input debugger (Window/Input Debug, double-click on Mouse) scroll.y will jump to non-zero when moving the mouse (pos or neg depending on last scroll direction it seems). Value changes rapidly, but absolute value might be correlated to cursor delta (i.e. faster cursor movement seems to lead to larger absolute scroll.y values).

Edit: this also happens when in play mode, looks like scroll is fired whenever some other mouse change happens (movement, button clicks).

fnuecke avatar Feb 05 '19 14:02 fnuecke

I'm getting the same problem. 0.2.1-preview on Unity 2018.3.9f1, Windows 10, Logitech G703.

Edit: I thought this might be something with Logitech mice, but @Wokarol got the same bug with a different mouse.

mwnDK1402 avatar Mar 21 '19 18:03 mwnDK1402

Also "ScrollVertical [Any]" return 1 for each LMB press (Win 10, preview-0.2.6, Unity 2019.1.0b8)

Wokarol avatar Mar 21 '19 18:03 Wokarol

Closing. Tracked here: https://issuetracker.unity3d.com/issues/ui-when-using-detect-input-to-bind-an-action-the-mouse-scroll-is-picked-up-automatically

JiaUnity avatar Apr 10 '19 00:04 JiaUnity