API: custom-input key_sequence to CTRL + TAB not working

Bugs that are actually features.
Post Reply
devilwarriors
Filter Inserter
Filter Inserter
Posts: 311
Joined: Sat Jan 09, 2016 1:11 am
Contact:

API: custom-input key_sequence to CTRL + TAB not working

Post by devilwarriors »

Hi,

Settings custom-input key_sequence to CTRL + TAB don't seem to work anymore. It show as Unknown in the game. Use to work in 0.15.

Code: Select all

data:extend({
  {
    type = "custom-input",
    name = "chainsaw-toggle",
    key_sequence = "CTRL + TAB"
  }
})
You can test it quickly with this mod.

https://mods.factorio.com/mods/devilwarriors/Chainsaw

Thanks

Rseding91
Factorio Staff
Factorio Staff
Posts: 13229
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: API: custom-input key_sequence to CTRL + TAB not working

Post by Rseding91 »

Thanks for the report. You need to use "CONTROL" not "CTRL". CTRL was never a valid option that I can tell - I tested in 0.15 and it doesn't work there either.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”