Page 1 of 1

Mousewheel bindings for mods not functional?

Posted: Thu Nov 30, 2017 10:34 pm
by dewiniaid
So, for the mod I'm developing someone suggested that <modifier>+Mousewheel might make a good choice for default keybindings. I decided to try to get a feel for this myself, so I changed my bindings through the in-game UI to Alt+Mousewheel Up/Alt+Mousewheel Down and so forth.

Result: None of the events my mod has for inputs fire. Except, ONCE (while fiddling around) I managed to get one binding to consistently work until I went and played with them again.

Something seems to be happening though: If I bind alt+mousewheel down, alt+mousewheel up will zoom (which is bound to the default of just regular mousewheel up) the map but alt+mousewheel down does not.

This all seems to hold true regardless of which direction is bound and which modifiers (if any) are used.

I've tried these bindings with another mod and observed the same behavior

Re: Mousewheel bindings for mods not functional?

Posted: Mon Dec 04, 2017 4:05 am
by foodfactorio
hi, did you have any luck in trying to bind anything else with the mousewheel?
if so, maybe it is just the alt-key which is restricted in some way

what happens if you try binding that Feature with any other simple key... is it more of a feature issue, or mainly a binding issue (and if binding, just wondering if it is mouse-related, or alt-key related?)

Re: Mousewheel bindings for mods not functional?

Posted: Wed Dec 06, 2017 6:21 am
by dewiniaid
It seemed to be anything involving mousewheel, with any modifiers in question.