Mousewheel bindings for mods not functional?
Posted: Thu Nov 30, 2017 10:34 pm
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
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