I am looking for a way to get the inventory and the item the mouse is hovering inside it.
My goal is to write a mod which allows to transfer items by scrolling the mouse wheel while
hovering over them. Those of you who played Minecraft modpacks will recognize this
behaviour from Inventory Tewaks or Mouse Tweaks.
Why do I want this?
I have found myself trying to take a locomotive from my mall chest this way on multiple
occasions. Obviously not limited to locomotives, but it is one of those items where one
usually needs only one or two. The muscle memory simply sticks, and I feel the slight
disappointment every time this doesn't work in Factorio xD
From my digging in the api documentation I couldn't find any straight forward way
of achieving this, any help is appreciated
