if I wrote something like that :
Code: Select all
data:extend(
{
{
type = "custom-input",
name = "effic_hotkey_reset",
key_sequence = "ALT + b",
consuming = "script-only"
},
{
type = "custom-input",
name = "effic_hotkey_on_map",
key_sequence = "b",
consuming = "script-only"
},
}
)
Is it normal ?
EDIT : when I look in the oprions/control, it seems that the ALT+B event exists, but the seuqence key is undefined. I can define it manually and then it works.