Have CustomInput respect the hidden property

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 356
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Have CustomInput respect the hidden property

Post by protocol_1903 »

As in title. Currently, when you have the hidden or hidden_in_factoriopedia flag to true, the custom input is not hidden from the controls GUI. This is counterintuitive and means that mods cannot have custom inputs that are not modifiable by the player, and they must always be shown. You can get around this by using linked_game_control but this is unreliable due to players being able to change those controls, and your selection of input sequences is limited.
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Rseding91
Factorio Staff
Factorio Staff
Posts: 16215
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Have CustomInput respect the hidden property

Post by Rseding91 »

Even if this existed, the player could still modify the binding in the config.ini file outside of the game. What is your use-case for a input that the player can't change?
If you want to get ahold of me I'm almost always on Discord.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 356
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Have CustomInput respect the hidden property

Post by protocol_1903 »

Detecting arbitrary events that have no direct binding, mostly mouse clicks, to override vanilla GUI interactions
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Post Reply

Return to “Modding interface requests”