can I use ; as a custom-input?

Place to get help with not working mods / modding interface.
Post Reply
devilwarriors
Filter Inserter
Filter Inserter
Posts: 311
Joined: Sat Jan 09, 2016 1:11 am
Contact:

can I use ; as a custom-input?

Post by devilwarriors »

Hi,

Since the dev are now using the L key in 0.15 in was tinking I could switch my mod to using ; instead but it doesn't look like it's working.

Code: Select all

data:extend({
  {
    type = "custom-input",
    name = "flashlight-toggle",
    key_sequence = ";"
  }
})
Is this possible or are we limited to just letter, number and the special key?

Is there a list somewhere of those values?

Thanks!

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: can I use ; as a custom-input?

Post by DaveMcW »

Go to Options -> Controls, bind a command to ";", and write down the code it gives you.

devilwarriors
Filter Inserter
Filter Inserter
Posts: 311
Joined: Sat Jan 09, 2016 1:11 am
Contact:

Re: can I use ; as a custom-input?

Post by devilwarriors »

Oh I see..

Thanks!

Post Reply

Return to “Modding help”