Mousewheel bindings for mods not functional?

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
dewiniaid
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Tue Mar 07, 2017 8:50 pm
Contact:

Mousewheel bindings for mods not functional?

Post by dewiniaid » 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

foodfactorio
Filter Inserter
Filter Inserter
Posts: 445
Joined: Tue Jun 20, 2017 1:56 am
Contact:

Re: Mousewheel bindings for mods not functional?

Post by foodfactorio » Mon Dec 04, 2017 4:05 am

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?)
(also me from the mod portal - im not dustine lol) = https://mods.factorio.com/mods/Dustine/ ... ssion/9108
my 1st Mod Idea :) viewtopic.php?f=33&t=50256

dewiniaid
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Tue Mar 07, 2017 8:50 pm
Contact:

Re: Mousewheel bindings for mods not functional?

Post by dewiniaid » Wed Dec 06, 2017 6:21 am

It seemed to be anything involving mousewheel, with any modifiers in question.

Post Reply

Return to “Modding discussion”

Who is online

Users browsing this forum: No registered users