Page 1 of 1

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

Posted: Thu Dec 14, 2017 1:08 am
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

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

Posted: Thu Dec 14, 2017 1:27 am
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.